зеркало из https://github.com/github/ruby.git
NEWS: add a space
* NEWS: fix wording, "Active Support" has a space in between the words, not ActiveSupport. https://github.com/ruby/ruby/commit/a356fe1#commitcomment-13936198 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d4fd2fb0a3
Коммит
418fa65d1a
2
NEWS
2
NEWS
|
@ -22,7 +22,7 @@ with all sufficient information, see the ChangeLog file.
|
|||
|
||||
* new method call syntax, `object.?foo', method #foo is called on
|
||||
`object' if it is not nil.
|
||||
this is similar to `try!' in ActiveSupport, except for:
|
||||
this is similar to `try!' in Active Support, except for:
|
||||
* method name is syntactically required
|
||||
obj.try! {} # valid
|
||||
obj.? {} # syntax error
|
||||
|
|
Загрузка…
Ссылка в новой задаче