Module: Sass

Extended by:
Haml::Version
Defined in:
lib/sass.rb,
lib/sass/css.rb,
lib/sass/repl.rb,
lib/sass/error.rb,
lib/sass/files.rb,
lib/sass/engine.rb,
lib/sass/plugin.rb,
lib/sass/script.rb,
lib/sass/tree/node.rb,
lib/sass/environment.rb,
lib/sass/script/lexer.rb,
lib/sass/script/parser.rb,
lib/sass/script/funcall.rb,
lib/sass/tree/root_node.rb,
lib/sass/script/variable.rb,
lib/sass/tree/debug_node.rb,
lib/sass/tree/import_node.rb,
lib/sass/tree/variable_node.rb,
lib/sass/tree/mixin_def_node.rb

Overview

The module that contains everything Sass-related:

  • Engine is the class used to render Sass within Ruby code.
  • Plugin is interfaces with web frameworks (Rails and Merb in particular).
  • SyntaxError is raised when Sass encounters an error.
  • CSS handles conversion of CSS to Sass.

Also see the full Sass reference.

Defined Under Namespace

Modules: Files, Plugin, Script, Tree Classes: CSS, Engine, Environment, Mixin, Repl, SyntaxError, UnitConversionError

Constant Summary collapse

VERSION =

A string representing the version of Sass. A more fine-grained representation is available from Haml::Version#version.

version[:string]
MERB_LOADED =
true
RAILS_LOADED =
true

Constants included from Haml::Util

Haml::Util::RUBY_VERSION

Method Summary

Methods included from Haml::Version

version

Methods included from Haml::Util

#assert_html_safe!, #caller_info, #check_encoding, #def_static_method, #enum_with_index, #has?, #map_hash, #map_keys, #map_vals, #merge_adjacent_strings, #powerset, #rails_xss_safe?, #ruby1_8?, #scope, #static_method_name, #to_hash