2007-02-28 19:27:55 +00:00
|
|
|
dir = File.dirname(__FILE__)
|
2008-10-12 22:38:49 -07:00
|
|
|
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
|
2006-12-19 02:56:49 +00:00
|
|
|
|
2009-01-25 11:02:33 -08:00
|
|
|
require 'haml/version'
|
|
|
|
|
2009-06-18 13:40:57 -07:00
|
|
|
# The module that contains everything Sass-related:
|
2007-02-28 10:44:12 +00:00
|
|
|
#
|
2009-06-18 13:40:57 -07:00
|
|
|
# * {Sass::Engine} is the class used to render Sass within Ruby code.
|
|
|
|
# * {Sass::Plugin} is interfaces with web frameworks (Rails and Merb in particular).
|
|
|
|
# * {Sass::SyntaxError} is raised when Sass encounters an error.
|
|
|
|
# * {Sass::CSS} handles conversion of CSS to Sass.
|
2007-02-28 10:44:12 +00:00
|
|
|
#
|
2009-06-18 13:40:57 -07:00
|
|
|
# Also see the {file:SASS_REFERENCE.md full Sass reference}.
|
2009-01-25 11:02:33 -08:00
|
|
|
module Sass
|
|
|
|
extend Haml::Version
|
|
|
|
|
|
|
|
# A string representing the version of Sass.
|
2009-03-31 16:29:18 -07:00
|
|
|
# A more fine-grained representation is available from {Sass.version}.
|
2009-01-25 11:02:33 -08:00
|
|
|
VERSION = version[:string] unless defined?(Sass::VERSION)
|
|
|
|
end
|
2006-12-19 02:56:49 +00:00
|
|
|
|
2008-11-22 19:17:06 -08:00
|
|
|
require 'haml/util'
|
2006-12-04 00:06:39 +00:00
|
|
|
require 'sass/engine'
|
2007-11-17 19:55:26 +00:00
|
|
|
require 'sass/plugin' if defined?(Merb::Plugins)
|