summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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