Exception: Malt::Formats::UnsupportedConversion
- Inherits:
-
Exception
- Object
- Exception
- Malt::Formats::UnsupportedConversion
- Defined in:
- lib/malt/formats/abstract.rb
Instance Method Summary collapse
-
#initialize(from_type, to_type) ⇒ UnsupportedConversion
constructor
A new instance of UnsupportedConversion.
- #message ⇒ Object
Constructor Details
#initialize(from_type, to_type) ⇒ UnsupportedConversion
Returns a new instance of UnsupportedConversion.
183 184 185 186 187 |
# File 'lib/malt/formats/abstract.rb', line 183 def initialize(from_type, to_type) @from_type = from_type @to_type = to_type super() end |
Instance Method Details
#message ⇒ Object
188 189 190 |
# File 'lib/malt/formats/abstract.rb', line 188 def "unsupported conversion: #{@from_type} -> #{@to_type}" end |