summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-03 06:53:38 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-03 06:53:38 +0000
commit5d8187d77250484e7f72cbe08d87083a125b9c58 (patch)
tree0e40e75c3ddb71007f3622fe6ac89716d4e57a3e /object.c
parente8783d008c8944bb66ed7620d45f39286b5f948f (diff)
* object.c (instance_variable_get): Restore rdoc markups lost in
the last commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/object.c b/object.c
index a27e17efa7..573f75a3dd 100644
--- a/object.c
+++ b/object.c
@@ -1661,10 +1661,10 @@ rb_obj_public_methods(int argc, VALUE *argv, VALUE obj)
* obj.instance_variable_get(symbol) => obj
*
* Returns the value of the given instance variable, or nil if the
- * instance variable is not set. The @ part of the variable name
- * should be included for regular instance variables. Throws a
- * NameError exception if the supplied symbol is not valid as an
- * instance variable name.
+ * instance variable is not set. The <code>@</code> part of the
+ * variable name should be included for regular instance
+ * variables. Throws a <code>NameError</code> exception if the
+ * supplied symbol is not valid as an instance variable name.
*
* class Fred
* def initialize(p1, p2)