haml--haml/lib/haml.rb

24 lines
665 B
Ruby
Raw Normal View History

require 'haml/version'
# The module that contains everything Haml-related:
2008-04-08 02:09:17 -04:00
#
2012-08-19 12:13:39 -04:00
# * {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}.
module Haml
def self.init_rails(*args)
# Maintain this as a no-op for any libraries that may be depending on the
# previous definition here.
end
end
require 'haml/util'
2010-08-22 19:04:02 -04:00
require 'haml/engine'
2013-06-27 17:58:35 -04:00
require 'haml/railtie' if defined?(Rails::Railtie)