summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-08-30 11:11:55 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-08-30 11:13:00 +0900
commitc9fc82983ccf624ccec88ffafe6f4e3eb8e7abc4 (patch)
tree08e5c3a539fb32a0d9c4ca5a2b0e1bc1849deb95 /NEWS
parent09c940b17fcbaec2f7d04e528b8869c8c51ff336 (diff)
lib/pp.rb: Use UnboundMethod#bind_call instead of .bind(obj).call(...)
Related to [Feature #15955].
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 34a94763c5..0769f59297 100644
--- a/NEWS
+++ b/NEWS
@@ -177,7 +177,7 @@ without allocation of intermediate Method object.
end
end
class Bar < Foo
- def add_1 # override
+ def add_1(x) # override
x + 2
end
end