summaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
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 a27e17efa..573f75a3d 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)