mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
![]() (https://github.com/ruby/irb/pull/888)
* Remove dead irb_level method
* Restructure workspace management
Currently, workspace is an attribute of IRB::Context in most use cases.
But when some workspace commands are used, like `pushws` or `popws`, a
workspace will be created and used along side with the original workspace
attribute.
This complexity is not necessary and will prevent us from expanding
multi-workspace support in the future.
So this commit introduces a @workspace_stack ivar to IRB::Context so IRB
can have a more natural way to manage workspaces.
* Fix pushws without args
* Always display workspace stack after related commands are used
|
||
---|---|---|
.. | ||
backtrace.rb | ||
base.rb | ||
break.rb | ||
catch.rb | ||
chws.rb | ||
continue.rb | ||
debug.rb | ||
delete.rb | ||
edit.rb | ||
exit.rb | ||
finish.rb | ||
force_exit.rb | ||
help.rb | ||
history.rb | ||
info.rb | ||
irb_info.rb | ||
load.rb | ||
ls.rb | ||
measure.rb | ||
next.rb | ||
pushws.rb | ||
show_doc.rb | ||
show_source.rb | ||
step.rb | ||
subirb.rb | ||
whereami.rb |