diff options
author | Takashi Kokubun <[email protected]> | 2021-03-18 01:18:42 -0700 |
---|---|---|
committer | git <[email protected]> | 2021-03-21 13:40:21 +0900 |
commit | 232433f22423fb6a3ff7a610140c711a964d3b3d (patch) | |
tree | fe319dccd48a1b0ea4dbfb0c1939ec37d6809492 /lib/irb/extend-command.rb | |
parent | 5f72962a0955d62dfbac2f7553b725b9d1e9e60d (diff) |
[ruby/irb] Add whereami command
https://github.com/ruby/irb/commit/bc822e4aac
Diffstat (limited to 'lib/irb/extend-command.rb')
-rw-r--r-- | lib/irb/extend-command.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb index e7b046ad4e..f50068d06c 100644 --- a/lib/irb/extend-command.rb +++ b/lib/irb/extend-command.rb @@ -135,6 +135,11 @@ module IRB # :nodoc: [:measure, NO_OVERRIDE], ], + [ + :irb_whereami, :Whereami, "irb/cmd/whereami", + [:whereami, NO_OVERRIDE], + ], + ] # Installs the default irb commands: |