summaryrefslogtreecommitdiff
path: root/variable.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
commit861219ce4a8c91a6d94c0d138c2f2bf2b3c2337e (patch)
treeaf62e80ee75bdbc02137390728ac6ebb2375231e /variable.c
parent0d3f9dbfe1ab1696d1c9b1ef46c9da4af786e629 (diff)
fix doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/variable.c b/variable.c
index 6c0ff1b3f5..385831b086 100644
--- a/variable.c
+++ b/variable.c
@@ -707,7 +707,7 @@ gvar_i(ID key, struct global_entry *entry, VALUE ary)
*
* Returns an array of the names of global variables.
*
- * global_variables.grep /std/ #=> ["$stderr", "$stdout", "$stdin"]
+ * global_variables.grep /std/ #=> [:$stdin, :$stdout, :$stderr]
*/
VALUE
@@ -1163,7 +1163,7 @@ ivar_i(ID key, VALUE val, VALUE ary)
* @iv = 3
* end
* end
- * Fred.new.instance_variables #=> ["@iv"]
+ * Fred.new.instance_variables #=> [:@iv]
*/
VALUE
@@ -1868,8 +1868,8 @@ cv_i(ID key, VALUE value, VALUE ary)
* class Two < One
* @@var2 = 2
* end
- * One.class_variables #=> ["@@var1"]
- * Two.class_variables #=> ["@@var2"]
+ * One.class_variables #=> [:@@var1]
+ * Two.class_variables #=> [:@@var2]
*/
VALUE