class ASEPalette::Color::GRAY

Attributes

gray[RW]

Public Class Methods

new(name, gray, type = DEFAULT_COLOR_TYPE) click to toggle source
# File lib/ase-palette/color.rb, line 79
def initialize(name, gray, type = DEFAULT_COLOR_TYPE)
  @name = name
  @gray = gray
  @type = type
end

Public Instance Methods

data() click to toggle source
# File lib/ase-palette/color.rb, line 84
def data
  { gray: @gray }
end