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