= Sass::Engine < Object (from /home/chedong/.local/share/rdoc) ------------------------------------------------------------------------ This class handles the parsing and compilation of the Sass template. Example usage: template = File.read('stylesheets/sassy.sass') sass_engine = Sass::Engine.new(template) output = sass_engine.render puts output ------------------------------------------------------------------------ = Constants: COMMENT_CHAR: The character that designates the beginning of a comment, either Sass or CSS. CONTENT_RE: [not documented] CSS_COMMENT_CHAR: The character that follows the general COMMENT_CHAR and designates a CSS comment, which is embedded in the CSS document. DEFAULT_OPTIONS: The default options for Sass::Engine. @api public DIRECTIVES: [not documented] DIRECTIVE_CHAR: The character used to denote a compiler directive. ESCAPE_CHAR: Designates a non-parsed rule. FUNCTION_RE: [not documented] MIXIN_DEFINITION_CHAR: Designates block as mixin definition rather than CSS rules to output MIXIN_DEF_RE: [not documented] MIXIN_INCLUDE_CHAR: Includes named mixin declared using MIXIN_DEFINITION_CHAR MIXIN_INCLUDE_RE: [not documented] PROPERTY_CHAR: The character that begins a CSS property. PROPERTY_OLD: The regex that matches and extracts data from properties of the form `:name prop`. SASS_COMMENT_CHAR: The character that follows the general COMMENT_CHAR and designates a Sass comment, which is not output as a CSS comment. SASS_LOUD_COMMENT_CHAR: The character that indicates that a comment allows interpolation and should be preserved even in :compressed mode. = Class methods: for_file new normalize_options parse_interp = Instance methods: _dependencies dependencies options render render_with_sourcemap source_encoding to_css to_tree = Attributes: attr_reader options
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 15:32 @216.73.217.111
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)