You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Main difference seems to be the result of show_source 'ls' (in REPL). For the startup (and command line) case it shows Looksee, otherwise irb/extend-command.rb.
Warning goes away if one adds Looksee.rename :_ls to irbrc ... but considering this happens for a straightforward installation, it seems like that should not be necessary. Would be great if require-ing looksee in irbrc and during REPL would behave the same way.
When one requires this gem in the irbrc file, you get a warning on
irb
startup, from ruby 2.7 onwards (tested in 2.7.1 and 3.0.0):If you
require
the gem after irb has finished loading, there is no issue.Main difference seems to be the result of
show_source 'ls'
(in REPL). For the startup (and command line) case it shows Looksee, otherwiseirb/extend-command.rb
.Warning goes away if one adds
Looksee.rename :_ls
to irbrc ... but considering this happens for a straightforward installation, it seems like that should not be necessary. Would be great ifrequire
-ing looksee in irbrc and during REPL would behave the same way.Probably relevant:
The text was updated successfully, but these errors were encountered: