123456789_123456789_123456789_123456789_123456789_

Class: IRB::ExtendCommand::Nop

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
IRB::ExtendCommand::ChangeWorkspace, IRB::ExtendCommand::CurrentWorkingWorkspace, IRB::ExtendCommand::Foreground, IRB::ExtendCommand::Fork, Help, IRB::ExtendCommand::IrbCommand, IRB::ExtendCommand::Jobs, IRB::ExtendCommand::Kill, IRB::ExtendCommand::Load, IRB::ExtendCommand::PopWorkspace, IRB::ExtendCommand::PushWorkspace, IRB::ExtendCommand::Require, IRB::ExtendCommand::Source, IRB::ExtendCommand::Workspaces
Inherits: Object
Defined in: lib/irb/cmd/nop.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(conf) ⇒ Nop

[ GitHub ]

  
# File 'lib/irb/cmd/nop.rb', line 23

def initialize(conf)
  @irb_context = conf
end

Class Method Details

.execute(conf, *opts)

[ GitHub ]

  
# File 'lib/irb/cmd/nop.rb', line 18

def self.execute(conf, *opts)
  command = new(conf)
  command.execute(*opts)
end

Instance Attribute Details

#irb_context (readonly)

[ GitHub ]

  
# File 'lib/irb/cmd/nop.rb', line 27

attr_reader :irb_context

Instance Method Details

#execute(*opts)

[ GitHub ]

  
# File 'lib/irb/cmd/nop.rb', line 33

def execute(*opts)
  #nop
end

#irb

[ GitHub ]

  
# File 'lib/irb/cmd/nop.rb', line 29

def irb
  @irb_context.irb
end