summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-09 01:04:46 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-09 01:04:46 +0000
commit27dc5a483ec6ed1f379cbd16c22054a4bbe2bf5f (patch)
treeaf62e80ee75bdbc02137390728ac6ebb2375231e /marshal.c
parent94faf2cb81ca64615817255df4a022cb659d6875 (diff)
downloadruby-27dc5a483ec6ed1f379cbd16c22054a4bbe2bf5f.tar.gz
ruby-27dc5a483ec6ed1f379cbd16c22054a4bbe2bf5f.tar.xz
ruby-27dc5a483ec6ed1f379cbd16c22054a4bbe2bf5f.zip
fix doc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/marshal.c b/marshal.c
index 2d54cb8ff..3242ac622 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1612,9 +1612,9 @@ marshal_load(int argc, VALUE *argv)
* first two bytes of marshaled data.
*
* str = Marshal.dump("thing")
- * RUBY_VERSION #=> "1.8.0"
- * str[0] #=> 4
- * str[1] #=> 8
+ * RUBY_VERSION #=> "1.9.0"
+ * str[0].ord #=> 4
+ * str[1].ord #=> 8
*
* Some objects cannot be dumped: if the objects to be dumped include
* bindings, procedure or method objects, instances of class IO, or