Module: Compass::SassExtensions::Functions::GradientSupport::Gradient::ClassMethods
- Defined in:
- lib/compass/sass_extensions/functions/gradient_support.rb
Instance Method Summary collapse
Instance Method Details
#standardized_prefix(prefix) ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/compass/sass_extensions/functions/gradient_support.rb', line 43 def standardized_prefix(prefix) class_eval %Q{ def to_#{prefix}(options = self.options) Sass::Script::String.new("-#{prefix}-\#{to_s(options)}") end } end |