Exception: Colorer::AlreadyDefinedMethod
- Inherits:
-
Exception
- Object
- Exception
- Colorer::AlreadyDefinedMethod
- Defined in:
- lib/colorer.rb
Instance Method Summary collapse
-
#initialize(meth, klass) ⇒ AlreadyDefinedMethod
constructor
A new instance of AlreadyDefinedMethod.
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 |