123456789_123456789_123456789_123456789_123456789_

Exception: RSS::ConversionError

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 a conversion failure occurs.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(string, to, from) ⇒ ConversionError

[ GitHub ]

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

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

Instance Attribute Details

#from (readonly)

[ GitHub ]

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

attr_reader :string, :to, :from

#string (readonly)

[ GitHub ]

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

attr_reader :string, :to, :from

#to (readonly)

[ GitHub ]

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

attr_reader :string, :to, :from