123456789_123456789_123456789_123456789_123456789_

Exception: RSS::UnknownConversionMethodError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: RSS::Error
  • Object
Defined in: lib/rss/rss.rb

Overview

Raised when an unknown conversion error occurs.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(to, from) ⇒ UnknownConversionMethodError

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 166

def initialize(to, from)
  @to = to
  @from = from
  super("can't convert to #{to} from #{from}.")
end

Instance Attribute Details

#from (readonly)

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 165

attr_reader :to, :from

#to (readonly)

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 165

attr_reader :to, :from