Sha256: 6ac39fdb9a0934e7bfa93d828c1272d37eacfd3b92472cfb586fc53a56b08628

Contents?: true

Size: 285 Bytes

Versions: 21

Compression:

Stored size: 285 Bytes

Contents

module SassC
  module Script
    module ValueConversion
      class Color < Base
        def to_native
          Native::make_color(
            @value.red,
            @value.green,
            @value.blue,
            @value.alpha
          )
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sassc-1.12.1 lib/sassc/script/value_conversion/color.rb
sassc-1.12.0 lib/sassc/script/value_conversion/color.rb
sassc-1.11.4 lib/sassc/script/value_conversion/color.rb
sassc-1.11.3 lib/sassc/script/value_conversion/color.rb
sassc-1.11.2 lib/sassc/script/value_conversion/color.rb
sassc-1.11.1 lib/sassc/script/value_conversion/color.rb
sassc-1.11.0 lib/sassc/script/value_conversion/color.rb
sassc-1.10.1 lib/sassc/script/value_conversion/color.rb
sassc-1.10.0 lib/sassc/script/value_conversion/color.rb
sassc-1.9.0 lib/sassc/script/value_conversion/color.rb
sassc-1.8.5 lib/sassc/script/value_conversion/color.rb
sassc-1.8.4 lib/sassc/script/value_conversion/color.rb
sassc-1.8.3 lib/sassc/script/value_conversion/color.rb
sassc-1.8.2 lib/sassc/script/value_conversion/color.rb
sassc-1.8.1 lib/sassc/script/value_conversion/color.rb
sassc-1.8.0 lib/sassc/script/value_conversion/color.rb
sassc-1.8.0.pre2 lib/sassc/script/value_conversion/color.rb
sassc-1.8.0.pre1 lib/sassc/script/value_conversion/color.rb
sassc-1.7.1 lib/sassc/script/value_conversion/color.rb
sassc-1.7.0 lib/sassc/script/value_conversion/color.rb