Class: SassC::Script::ValueConversion::Number

Inherits:
Base
  • Object
show all
Defined in:
lib/sassc/script/value_conversion/number.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SassC::Script::ValueConversion::Base

Instance Method Details

#to_nativeObject



7
8
9
# File 'lib/sassc/script/value_conversion/number.rb', line 7

def to_native
  Native::make_number(@value.value, @value.numerator_units.first)
end