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
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/color.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.80.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.80.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.80.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.79.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.78.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.8 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.7 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.6 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.5 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.4 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.3 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.77.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.76.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.75.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb
sassc-embedded-1.75.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/color.rb