Exception: Malt::Format::UnsupportedConversion
- Defined in:
- lib/malt/formats/abstract.rb
Overview
TODO: Is this needed anymore, if so where?
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.
269 270 271 272 273 |
# File 'lib/malt/formats/abstract.rb', line 269 def initialize(from_type, to_type) @from_type = from_type @to_type = to_type super() end |
Instance Method Details
#message ⇒ Object
274 275 276 |
# File 'lib/malt/formats/abstract.rb', line 274 def "unsupported conversion: #{@from_type} -> #{@to_type}" end |