From f48fce4981574f7df33982eb901c94e8f4d6d4ab Mon Sep 17 00:00:00 2001 From: Jean byroot Boussier Date: Wed, 10 Jun 2020 23:54:15 +0200 Subject: Fix a typo in instance_variable_set documentation --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 symbol 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 -- cgit v1.2.3