summaryrefslogtreecommitdiff
path: root/lib/rss
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-18 06:59:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-18 06:59:04 +0000
commitbfb47068b0a888aa82ad027aadb36828ac396683 (patch)
tree32915dbe65d750121bbde9fffb148ec19eccd945 /lib/rss
parentab6963043df202bde77d67dfabff41cc3e7c11c8 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss')
-rw-r--r--lib/rss/rss.rb4
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