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
This shows that IRB's command methods got added to the object, which is a pretty bad side-effect. This is because IRB directly calls extend(ExtendCommandBundle) on the context.mainhere.
I think we should stop treating commands as methods to properly solve this, which will also make command extension API easier to implement.
The text was updated successfully, but these errors were encountered:
Description
Given the code:
If we run
ls
frombinding.irb
, we'd getThis shows that IRB's command methods got added to the object, which is a pretty bad side-effect. This is because IRB directly calls
extend(ExtendCommandBundle)
on thecontext.main
here.I think we should stop treating commands as methods to properly solve this, which will also make command extension API easier to implement.
The text was updated successfully, but these errors were encountered: