diff options
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r-- | lib/rss/rss.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index d84b51472d..6386ca3973 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -71,7 +71,7 @@ module RSS class UnknownConversionMethodError < Error attr_reader :to, :from def initialize(to, from) - @to = from + @to = to @from = from super("can't convert to #{to} from #{from}.") end @@ -83,7 +83,7 @@ module RSS attr_reader :string, :to, :from def initialize(string, to, from) @string = string - @to = from + @to = to @from = from super("can't convert #{@string} to #{to} from #{from}.") end |