diff options
author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2023-05-24 01:16:32 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-23 16:16:37 +0000 |
commit | 92d6c9a7b1c3f8462e91e9b7de04b0b2012d54b3 (patch) | |
tree | 0d4602bac1eb5cb4428f08c71472aece73a77b97 /lib/irb/completion.rb | |
parent | 24a6609ccb21af186d1cb73258abddb82e28a9f2 (diff) | |
download | ruby-92d6c9a7b1c3f8462e91e9b7de04b0b2012d54b3.tar.gz |
[ruby/irb] Allow `show_source` for private methods
(https://github.com/ruby/irb/pull/589)
* Allow `show_source` for private methods
Fix https://github.com/ruby/irb/pull/577
* Pend tests on TruffleRuby
It seems `eval(..., __LINE__ + 1)` does not work.
Other similar tests are also pended on TruffleRuby, so I think it
is acceptable.
* Use `private_method_defined?` instead of `defined?`
Diffstat (limited to 'lib/irb/completion.rb')
0 files changed, 0 insertions, 0 deletions