class RSS::ConversionError - rss: Ruby Standard Library Documentation

# class RSS::ConversionError

Raised when a conversion failure occurs.

### Attributes

from[R]
string[R]
to[R]

### Public Class Methods

new(string, to, from) click to toggle source
Calls superclass method

    # File rss-0.3.1/lib/rss/rss.rb, line 175
    def initialize(string, to, from)
      @string = string
      @to = to
      @from = from
      super("can't convert #{@string} to #{to} from #{from}.")
    end