module Haml
The module that contains everything Haml-related:
-
{Haml::Parser} is Haml’s parser.
-
{Haml::Compiler} is Haml’s compiler.
-
{Haml::Engine} is the class used to render
Haml
within Ruby code. -
{Haml::Options} is where Haml’s runtime options are defined.
-
{Haml::Error} is raised when
Haml
encounters an error.
Also see the {file:REFERENCE.md full Haml
reference}.
We keep options in its own self-contained file so that we can load it independently in Rails 3, where the full template stuff is lazy-loaded.
Constants
- VERSION
Public Class Methods
Source
# File lib/haml.rb, line 16 def self.init_rails(*args) # Maintain this as a no-op for any libraries that may be depending on the # previous definition here. end