ruby-changes:64613
From: Marcus <ko1@a...>
Date: Sun, 27 Dec 2020 07:02:50 +0900 (JST)
Subject: [ruby-changes:64613] 0a867315e8 (master): [DOC] Fix typos in vm_method.c
https://git.ruby-lang.org/ruby.git/commit/?id=0a867315e8 From 0a867315e8dbdfb1e5d57ced42150b34843a1ea5 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer <sto.mar@w...> Date: Sat, 26 Dec 2020 22:50:55 +0100 Subject: [DOC] Fix typos in vm_method.c diff --git a/vm_method.c b/vm_method.c index 4e1208b..a933729 100644 --- a/vm_method.c +++ b/vm_method.c @@ -2035,7 +2035,7 @@ set_visibility(int argc, const VALUE *argv, VALUE module, rb_method_visibility_t https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2035 * defined methods to public. With arguments, sets the named methods to * have public visibility. * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. */ static VALUE @@ -2055,7 +2055,7 @@ rb_mod_public(int argc, VALUE *argv, VALUE module) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2055 * defined methods to protected. With arguments, sets the named methods * to have protected visibility. * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. * * If a method has protected visibility, it is callable only where * <code>self</code> of the context is the same as the method. @@ -2084,7 +2084,7 @@ rb_mod_protected(int argc, VALUE *argv, VALUE module) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2084 * defined methods to private. With arguments, sets the named methods * to have private visibility. * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. * * module Mod * def a() end @@ -2222,7 +2222,7 @@ rb_mod_ruby2_keywords(int argc, VALUE *argv, VALUE module) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2222 * Makes a list of existing class methods public. * * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. */ static VALUE @@ -2242,7 +2242,7 @@ rb_mod_public_method(int argc, VALUE *argv, VALUE obj) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2242 * constructor <code>new</code>. * * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. * * class SimpleSingleton # Not thread safe * private_class_method :new @@ -2272,7 +2272,7 @@ rb_mod_private_method(int argc, VALUE *argv, VALUE obj) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2272 * have public visibility. * * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. */ static VALUE @@ -2293,7 +2293,7 @@ top_public(int argc, VALUE *argv, VALUE _) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L2293 * have private visibility. * * String arguments are converted to symbols. - * An Array of Symbols and/or Strings are also accepted. + * An Array of Symbols and/or Strings is also accepted. */ static VALUE top_private(int argc, VALUE *argv, VALUE _) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/