mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eddc0685f2
commit
d8cda04488
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Dec 19 16:19:36 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
|
||||
|
||||
Wed Dec 19 16:18:22 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems/commands/query_command.rb: Refactored to improve
|
||||
|
|
|
@ -118,7 +118,7 @@ the caller after all positional arguments.
|
|||
However, this only occurs if the method does not declare any keyword arguments.
|
||||
|
||||
def gather_arguments_keyword(*positional, keyword: nil)
|
||||
p positinal: positional, keyword: keyword
|
||||
p positional: positional, keyword: keyword
|
||||
end
|
||||
|
||||
gather_arguments_keyword 1, 2, three: 3
|
||||
|
|
Loading…
Reference in a new issue