summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-27 19:51:56 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-27 19:51:56 +0000
commit2f83f7a7f466eed59044d2be4898ceb426b7cdb7 (patch)
tree8c777bb096fbbda2c19515ce5549de992dd72c14
parent8e8e5e770f79c8cb44ebe0661923954a07b2492f (diff)
update doc (add Pathname#binread)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS5
-rw-r--r--lib/pathname.rb1
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 252ff4f72e..c518957bee 100644
--- a/NEWS
+++ b/NEWS
@@ -139,8 +139,9 @@ with all sufficient information, see the ChangeLog file.
* pathname
* new methods:
- * realdirpath
- * each_child
+ * Pathname#binread
+ * Pathname#realdirpath
+ * Pathname#each_child
* Readline
* new methods:
diff --git a/lib/pathname.rb b/lib/pathname.rb
index e58035c2be..8a07d455fd 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -167,6 +167,7 @@
# These methods are a facade for IO:
# - #each_line(*args, &block)
# - #read(*args)
+# - #binread(*args)
# - #readlines(*args)
# - #sysopen(*args)
#