Exception: Colorer::AlreadyDefinedMethod

Inherits:
Exception
  • Object
show all
Defined in:
lib/colorer.rb

Instance Method Summary collapse

Constructor Details

#initialize(meth, klass) ⇒ AlreadyDefinedMethod

Returns a new instance of AlreadyDefinedMethod.



6
7
8
# File 'lib/colorer.rb', line 6

def initialize(meth, klass)
  super("already defined method '#{meth}' for #{klass}:#{klass.class}")
end