1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

RDoc markdown parser needs explicit code block or more indents [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-03-10 12:44:33 +09:00
parent 384feb6c51
commit bba2b70949
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -19,6 +19,7 @@ sufficient information, see the ChangeLog file or Redmine
accepting a single rest argument and no keywords.
[[Feature #16166]]
```ruby
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
@ -28,6 +29,7 @@ sufficient information, see the ChangeLog file or Redmine
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => [[[1, {:a=>1}]], {}]
```
* $SAFE is now a normal global variable with no special behavior.
[[Feature #16131]]