summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2023-04-24 15:10:32 +0100
committergit <svn-admin@ruby-lang.org>2023-04-24 14:10:36 +0000
commit73fc81199de5e567e38f7ea9067260eb6866cbf9 (patch)
tree3d98586fa270eb64e1a11164bf74227324b0bc44 /struct.c
parent805899dda29e36a42ffd9e076b9296f3bf13af5a (diff)
downloadruby-73fc81199de5e567e38f7ea9067260eb6866cbf9.tar.gz
[ruby/irb] Simplify the help command's implementation
(https://github.com/ruby/irb/pull/564) The current method-redefining approach brings little benefit, makes it harder to understand the code, and causes warnings like: > warning: method redefined; discarding old execute This patch simplifies it while displaying more helpful message when rdoc couldn't be loaded.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions