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
53 54 55 56 57 58 59 |
# File 'lib/compass/sass_extensions/functions/gradient_support.rb', line 53 def standardized_prefix(prefix) class_eval %Q{ def to_#{prefix}(options = self.options) Sass::Script::String.new("-#{prefix}-\#{to_s(options)}") end } end |