Exception: EyeOfNewt::UnknownConversion

Inherits:
EyeOfNewtError show all
Defined in:
lib/eye_of_newt/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(from, to) ⇒ UnknownConversion

Returns a new instance of UnknownConversion.



11
12
13
# File 'lib/eye_of_newt/errors.rb', line 11

def initialize(from, to)
  super(%Q{Can't convert from "#{from}" to "#{to}"})
end