Method: ASE::Palette#initialize
- Defined in:
- lib/ase/palette.rb
#initialize(name) ⇒ Palette
Returns a new instance of Palette.
7 8 9 10 |
# File 'lib/ase/palette.rb', line 7 def initialize(name) @name = name @colors = {} end |
Returns a new instance of Palette.
7 8 9 10 |
# File 'lib/ase/palette.rb', line 7 def initialize(name) @name = name @colors = {} end |