Class: IRB::ExtendCommand::Nop
Direct Known Subclasses
ChangeWorkspace, CurrentWorkingWorkspace, Foreground, Fork, Help, IrbCommand, Jobs, Kill, Load, Require, Source, Workspaces
Instance Attribute Summary collapse
-
#irb_context ⇒ Object
readonly
Returns the value of attribute irb_context.
Class Method Summary collapse
Instance Method Summary collapse
- #execute(*opts) ⇒ Object
-
#initialize(conf) ⇒ Nop
constructor
A new instance of Nop.
- #irb ⇒ Object
Constructor Details
#initialize(conf) ⇒ Nop
Returns a new instance of Nop.
23 24 25 |
# File 'lib/irb/cmd/nop.rb', line 23 def initialize(conf) @irb_context = conf end |
Instance Attribute Details
#irb_context ⇒ Object (readonly)
Returns the value of attribute irb_context
27 28 29 |
# File 'lib/irb/cmd/nop.rb', line 27 def irb_context @irb_context end |
Class Method Details
.execute(conf, *opts) ⇒ Object
18 19 20 21 |
# File 'lib/irb/cmd/nop.rb', line 18 def self.execute(conf, *opts) command = new(conf) command.execute(*opts) end |