Module: Cell::Haml

Includes:
Rails
Defined in:
lib/cell/haml.rb,
lib/cell/haml/version.rb

Defined Under Namespace

Modules: Rails

Constant Summary collapse

VERSION =
"0.0.10"

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Rails

included

Instance Attribute Details

#output_buffer=(value) ⇒ Object (writeonly)

Sets the attribute output_buffer

Parameters:

  • value

    the value to set the attribute output_buffer to.



14
15
16
# File 'lib/cell/haml.rb', line 14

def output_buffer=(value)
  @output_buffer = value
end

Instance Method Details

#template_options_for(options) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/cell/haml.rb', line 5

def template_options_for(options)
  {
    template_class: ::Tilt::HamlTemplate,
    escape_html:    false,
    escape_attrs:   false,
    suffix:         "haml"
  }
end