summaryrefslogtreecommitdiff
path: root/golf_prelude.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-23 08:26:10 (GMT)
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-23 08:26:10 (GMT)
commit3e76849cc80ede856069beb0dc85b89ef892f05e (patch)
tree0e4eda9e72ac0e45ba4cd3578e03a6f0c297f627 /golf_prelude.rb
parent834e7488afd8023995ea8bd7ca67d002c4071a51 (diff)
* golf_prelude.rb (Enumerator#inspect): avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'golf_prelude.rb')
-rw-r--r--golf_prelude.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/golf_prelude.rb b/golf_prelude.rb
index 2548314..8aa70d8 100644
--- a/golf_prelude.rb
+++ b/golf_prelude.rb
@@ -102,5 +102,6 @@ class Enumerator
to_a.#{meth}(*args, &block)
end"
}
+ alias old_inspect inspect
alias inspect old_to_s
end