class ASEPalette::Color::LAB
Attributes
a[RW]
b[RW]
l[RW]
Public Class Methods
new(name, l, a, b, type = DEFAULT_COLOR_TYPE)
click to toggle source
# File lib/ase-palette/color.rb, line 65 def initialize(name, l, a, b, type = DEFAULT_COLOR_TYPE) @name = name @l = l @a = a @b = b @type = type end
Public Instance Methods
data()
click to toggle source
# File lib/ase-palette/color.rb, line 72 def data { l: @l, a: @a, b: @b } end