From a36febf2153bfe3d3c8c636e5e32805e5310f090 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 18 Mar 2004 06:59:04 +0000 Subject: * eval.c: remove specialized version of rb_Array(). use simple one defined in object.c. * object.c (Init_Object): remove Kernel#to_a. * enum.c (enum_zip): use "to_a" instead of "to_ary". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/rss.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rss/rss.rb') diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index d84b51472..6386ca397 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 -- cgit