diff options
author | Stan Lo <[email protected]> | 2023-04-24 15:10:32 +0100 |
---|---|---|
committer | git <[email protected]> | 2023-04-24 14:10:36 +0000 |
commit | 73fc81199de5e567e38f7ea9067260eb6866cbf9 (patch) | |
tree | 3d98586fa270eb64e1a11164bf74227324b0bc44 /struct.c | |
parent | 805899dda29e36a42ffd9e076b9296f3bf13af5a (diff) |
[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