Class Haml::Compiler
In: lib/haml/compiler.rb
lib/haml/template.rb
Parent: Object

Methods

Included Modules

Haml::Util

Attributes

options  [RW] 

Public Class methods

Public Instance methods

The source code that is evaluated to produce the Haml document.

In Ruby 1.9, this is automatically converted to the correct encoding (see {file:REFERENCE.md#encodings the `:encoding` option}).

@return [String]

precompiled_method_return_value()
precompiled_method_return_value_without_haml_xss()

Alias for precompiled_method_return_value

Returns the precompiled string with the preamble and postamble.

Initializes to ActionView::OutputBuffer when available; this is necessary to avoid ordering issues with partial layouts in Rails. If not available, initializes to nil.

[Validate]