Method: SassC::Native.attach_function
- Defined in:
- lib/sassc/native.rb
.attach_function(*args) ⇒ Object
Remove the redundant “sass_” from the beginning of every method name
35 36 37 38 39 40 41 42 43 |
# File 'lib/sassc/native.rb', line 35 def self.attach_function(*args) super if args.size != 3 if args[0] =~ /^sass_/ args.unshift args[0].to_s.sub(/^sass_/, "") end super(*args) end |