Class: IRB::Command::PopWorkspace

Inherits:
Workspaces show all
Defined in:
lib/irb/command/pushws.rb

Instance Attribute Summary

Attributes inherited from Base

#irb_context

Instance Method Summary collapse

Methods inherited from Base

category, description, execute, help_message, #initialize

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#execute(_arg) ⇒ Object



57
58
59
60
# File 'lib/irb/command/pushws.rb', line 57

def execute(_arg)
  irb_context.pop_workspace
  super
end