Exception: RSS::UnknownConversionMethodError

Inherits:
Error
  • Object
show all
Defined in:
lib/rss/rss.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (UnknownConversionMethodError) initialize(to, from)

A new instance of UnknownConversionMethodError



128
129
130
131
132
# File 'lib/rss/rss.rb', line 128

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

Instance Attribute Details

- (Object) from (readonly)

Returns the value of attribute from



127
128
129
# File 'lib/rss/rss.rb', line 127

def from
  @from
end

- (Object) to (readonly)

Returns the value of attribute to



127
128
129
# File 'lib/rss/rss.rb', line 127

def to
  @to
end