Methods

Included Modules

Class Index [+]

Quicksearch

Haml::Filters::Preserve

Inserts the filtered text into the template with whitespace preserved. `preserve`d blocks of text aren’t indented, and newlines are replaced with the HTML escape code for newlines, to preserve nice-looking output.

@see Haml::Helpers#preserve

Public Instance Methods

render(text) click to toggle source

@see Base#render

     # File lib/haml/filters.rb, line 285
285:       def render(text)
286:         Haml::Helpers.preserve text
287:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.