class Padrino::Rendering::HamlitOutputBuffer

Public Instance Methods

call(exp) click to toggle source
# File lib/padrino/rendering/hamlit_template.rb, line 6
def call(exp)
  [preamble, compile(exp), postamble].flatten.compact.join('; '.freeze)
end
concat(str) click to toggle source
# File lib/padrino/rendering/hamlit_template.rb, line 14
def concat(str)
  "#{buffer}.safe_concat((#{str}))"
end
create_buffer() click to toggle source
# File lib/padrino/rendering/hamlit_template.rb, line 10
def create_buffer
  "#{buffer} = #{options[:buffer_class]}.new"
end