Class: SassC::Script::ValueConversion::Color

Inherits:
Base
  • Object
show all
Defined in:
lib/sassc/script/value_conversion/color.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
10
11
12
13
14
# File 'lib/sassc/script/value_conversion/color.rb', line 7

def to_native
  Native::make_color(
    @value.red,
    @value.green,
    @value.blue,
    @value.alpha
  )
end