Class: IRB::ExtendCommand::IrbCommand

Inherits:
Nop show all
Defined in:
lib/irb/cmd/subirb.rb

Instance Attribute Summary

Attributes inherited from Nop

#irb_context

Instance Method Summary collapse

Methods inherited from Nop

execute, #initialize, #irb

Constructor Details

This class inherits a constructor from IRB::ExtendCommand::Nop

Instance Method Details

#execute(*obj) ⇒ Object



19
20
21
# File 'lib/irb/cmd/subirb.rb', line 19

def execute(*obj)
  IRB.irb(nil, *obj)
end