aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean byroot Boussier <jean.boussier+github@shopify.com>2020-06-10 23:54:15 +0200
committerJeremy Evans <code@jeremyevans.net>2020-06-10 17:49:11 -0700
commitf48fce4981574f7df33982eb901c94e8f4d6d4ab (patch)
treeaf870aa44c3900df11336f6fbd8209ea167f73a5
parent0213f5b08a470d322edb54bda85523d05b2ea4c7 (diff)
downloadruby-f48fce4981574f7df33982eb901c94e8f4d6d4ab.tar.gz
Fix a typo in instance_variable_set documentation
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index f24fee825c..dafbcd0531 100644
--- a/object.c
+++ b/object.c
@@ -2957,7 +2957,7 @@ rb_obj_ivar_get(VALUE obj, VALUE iv)
* obj.instance_variable_set(string, obj) -> obj
*
* Sets the instance variable named by <i>symbol</i> to the given
- * object. This may circumvent the the encapsulation intended by
+ * object. This may circumvent the encapsulation intended by
* the author of the class, so it should be used with care.
* The variable does not have to exist prior to this call.
* If the instance variable name is passed as a string, that string