summaryrefslogtreecommitdiffstats
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
commit2bdb550d11c818357962e9040d73d19e648338ac (patch)
tree8c777bb096fbbda2c19515ce5549de992dd72c14
parent93375369d7188e8101ac698978b92f15664086c6 (diff)
downloadruby-2bdb550d11c818357962e9040d73d19e648338ac.tar.gz
ruby-2bdb550d11c818357962e9040d73d19e648338ac.tar.xz
ruby-2bdb550d11c818357962e9040d73d19e648338ac.zip
update doc (add Pathname#binread)
git-svn-id: http://svn.ruby-lang.org/repos/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 252ff4f72..c518957be 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 e58035c2b..8a07d455f 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)
#