Sha256: bc598a9fd70deb66d0142266f2b912a1f43f545a9c543f83dd496c2210e6d47b

Contents?: true

Size: 316 Bytes

Versions: 93

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

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

93 entries across 77 versions & 7 rubygems

Version Path
sassc-embedded-1.75.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.74.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.74.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.70.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.70.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.69.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.69.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.6 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.5 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.4 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.3 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.68.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/color.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/color.rb
sassc-2.4.0-x64-mingw32 lib/sassc/script/value_conversion/color.rb
sassc-2.4.0 lib/sassc/script/value_conversion/color.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/lib/sassc/script/value_conversion/color.rb
sassc-2.3.0-x64-mingw32 lib/sassc/script/value_conversion/color.rb
sassc-2.3.0 lib/sassc/script/value_conversion/color.rb