diff options
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2263,7 +2263,7 @@ id_for_attr(VALUE obj, VALUE name) * value of each instance variable. Equivalent to calling * ``<code>attr</code><i>:name</i>'' on each name in turn. * String arguments are converted to symbols. - * Returns an array of defined methods names as symbols. + * Returns an array of defined method names as symbols. */ static VALUE @@ -2289,7 +2289,7 @@ rb_mod_attr_reader(int argc, VALUE *argv, VALUE klass) * The first form is equivalent to #attr_reader. * The second form is equivalent to <code>attr_accessor(name)</code> but deprecated. * The last form is equivalent to <code>attr_reader(name)</code> but deprecated. - * Returns an array of defined methods names as symbols. + * Returns an array of defined method names as symbols. *-- * \private * \todo can be static? @@ -2319,7 +2319,7 @@ rb_mod_attr(int argc, VALUE *argv, VALUE klass) * Creates an accessor method to allow assignment to the attribute * <i>symbol</i><code>.id2name</code>. * String arguments are converted to symbols. - * Returns an array of defined methods names as symbols. + * Returns an array of defined method names as symbols. */ static VALUE @@ -2346,7 +2346,7 @@ rb_mod_attr_writer(int argc, VALUE *argv, VALUE klass) * (<code>@name</code>) and a corresponding access method to read it. * Also creates a method called <code>name=</code> to set the attribute. * String arguments are converted to symbols. - * Returns an array of defined methods names as symbols. + * Returns an array of defined method names as symbols. * * module Mod * attr_accessor(:one, :two) #=> [:one, :one=, :two, :two=] |