summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--golf_prelude.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73393a5..4b318d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jan 23 17:24:31 2009 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * golf_prelude.rb (Enumerator#inspect): avoid warning.
+
Fri Jan 23 15:12:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (mkintpath): new function which converts native path
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