summaryrefslogtreecommitdiffstats
path: root/lib
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
commita36febf2153bfe3d3c8c636e5e32805e5310f090 (patch)
tree32915dbe65d750121bbde9fffb148ec19eccd945 /lib
parentaf61503709667cb380084f48f22c8855d13fcc19 (diff)
downloadruby-a36febf2153bfe3d3c8c636e5e32805e5310f090.tar.gz
ruby-a36febf2153bfe3d3c8c636e5e32805e5310f090.tar.xz
ruby-a36febf2153bfe3d3c8c636e5e32805e5310f090.zip
* 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
Diffstat (limited to 'lib')
-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 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