haml-3.0.25.lib.sass.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalate-jruby_2.10 Show documentation
Show all versions of scalate-jruby_2.10 Show documentation
Scalate integration with JRuby to access Ruby based filters such as sass
The newest version!
dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
require 'haml/version'
# The module that contains everything Sass-related:
#
# * {Sass::Engine} is the class used to render Sass/SCSS 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.
#
# Also see the {file:SASS_REFERENCE.md full Sass reference}.
module Sass
extend Haml::Version
# A string representing the version of Sass.
# A more fine-grained representation is available from {Haml::Version#version Sass.version}.
# @api public
VERSION = version[:string] unless defined?(Sass::VERSION)
end
require 'haml/util'
dir = Haml::Util.scope("vendor/fssm/lib")
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
require 'sass/engine'
require 'sass/plugin' if defined?(Merb::Plugins)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy