diff options
author | Hiroaki Osawa <[email protected]> | 2025-03-18 02:19:43 +0900 |
---|---|---|
committer | <[email protected]> | 2025-03-18 02:19:43 +0900 |
commit | 52f6563422edd9b233dbe5f522058be230c63651 () | |
tree | bab8af78ec0788648bb68ce08ac799fbff568be5 /prelude.rb | |
parent | 1acfb29015dbc38fd345d8786aa78aad59f7dcd1 (diff) |
Allow arguments to be passed through Binding#irb (#12796)
* Allow arguments to be passed through Binding#irb Modified Binding#irb to forward any arguments to the underlying irb method call. * Update prelude.rb Co-authored-by: Stan Lo <[email protected]> * Update prelude.rb Co-authored-by: Stan Lo <[email protected]> --------- Co-authored-by: Stan Lo <[email protected]>
Notes: Merged-By: tompng <[email protected]>
-rw-r--r-- | prelude.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,13 +1,13 @@ class Binding # :nodoc: - def irb begin require 'irb' rescue LoadError, Gem::LoadError Gem::BUNDLED_GEMS.force_activate 'irb' retry end - irb end # suppress redefinition warning |