Sha256: 26305a3a587cb68342af797990ed5d75bed8a9b2cc1ab9e78fff4f8565fe668f
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
module SassC module Script def self.custom_functions Functions.instance_methods.select do |function| Functions.public_method_defined?(function) end end def self.formatted_function_name(function_name) params = Functions.instance_method(function_name).parameters params = params.map { |param_type, name| "$#{name}#{': null' if param_type == :opt}" } .join(", ") "#{function_name}(#{params})" end module Value end end end require_relative "script/functions" require_relative "script/value_conversion" module Sass module Script end end require 'sass/util' begin require 'sass/deprecation' rescue LoadError end require 'sass/script/value/base' require 'sass/script/value/string' require 'sass/script/value/color' require 'sass/script/value/bool' SassC::Script::String = Sass::Script::Value::String SassC::Script::Value::String = Sass::Script::Value::String SassC::Script::Color = Sass::Script::Value::Color SassC::Script::Value::Color = Sass::Script::Value::Color SassC::Script::Bool = Sass::Script::Value::Bool SassC::Script::Value::Bool = Sass::Script::Value::Bool
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sassc-1.12.1 | lib/sassc/script.rb |
sassc-1.12.0 | lib/sassc/script.rb |
sassc-1.11.4 | lib/sassc/script.rb |
sassc-1.11.3 | lib/sassc/script.rb |