Method: ASE::Palette#method_missing

Defined in:
lib/ase/palette.rb

#method_missing(method, *args, &block) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/ase/palette.rb', line 35

def method_missing(method, *args, &block)
  if @colors.has_key?(method.to_s)
    return @colors[method.to_s]
  end

  super
end