diff options
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -698,7 +698,7 @@ rb_mod_included_modules(VALUE mod) /* * call-seq: - * mod.include?(module) => true or false + * mod.include?(module) -> true or false * * Returns <code>true</code> if <i>module</i> is included in * <i>mod</i> or one of <i>mod</i>'s ancestors. @@ -863,7 +863,7 @@ class_instance_method_list(int argc, VALUE *argv, VALUE mod, int (*func) (ID, lo /* * call-seq: - * mod.instance_methods(include_super=true) => array + * mod.instance_methods(include_super=true) -> array * * Returns an array containing the names of instance methods that is callable * from outside in the receiver. For a module, these are the public methods; @@ -896,7 +896,7 @@ rb_class_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.protected_instance_methods(include_super=true) => array + * mod.protected_instance_methods(include_super=true) -> array * * Returns a list of the protected instance methods defined in * <i>mod</i>. If the optional parameter is not <code>false</code>, the @@ -911,7 +911,7 @@ rb_class_protected_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.private_instance_methods(include_super=true) => array + * mod.private_instance_methods(include_super=true) -> array * * Returns a list of the private instance methods defined in * <i>mod</i>. If the optional parameter is not <code>false</code>, the @@ -934,7 +934,7 @@ rb_class_private_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.public_instance_methods(include_super=true) => array + * mod.public_instance_methods(include_super=true) -> array * * Returns a list of the public instance methods defined in <i>mod</i>. * If the optional parameter is not <code>false</code>, the methods of @@ -949,7 +949,7 @@ rb_class_public_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * obj.singleton_methods(all=true) => array + * obj.singleton_methods(all=true) -> array * * Returns an array of the names of singleton methods for <i>obj</i>. * If the optional <i>all</i> parameter is true, the list will include |