Sha256: 25888fe997524ca2840882d3f83aed10b12fd25c5a1bbc4aee95d0ccebc624a9

Contents?: true

Size: 171 Bytes

Versions: 7

Compression:

Stored size: 171 Bytes

Contents

module Colors
  module AlphaComponent
    attr_reader :a

    def a=(a)
      @a = canonicalize_component(a, :a)
    end

    alias alpha a

    alias alpha= a=
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
red-colors-0.4.0 lib/colors/alpha_component.rb
red-colors-0.3.0 lib/colors/alpha_component.rb
red-colors-0.2.0 lib/colors/alpha_component.rb
red-colors-0.1.3 lib/colors/alpha_component.rb
red-colors-0.1.2 lib/colors/alpha_component.rb
red-colors-0.1.1 lib/colors/alpha_component.rb
red-colors-0.1.0 lib/colors/alpha_component.rb