123456789_123456789_123456789_123456789_123456789_

Class: IRB::ExtendCommand::Nop

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
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 29

def initialize(conf)
  @irb_context = conf
end

Class Method Details

.execute(conf, *opts, &block)

See additional method definition at line 18.

[ GitHub ]

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

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

Instance Attribute Details

#irb_context (readonly)

[ GitHub ]

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

attr_reader :irb_context

Instance Method Details

#execute(*opts)

[ GitHub ]

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

def execute(*opts)
  #nop
end

#irb

[ GitHub ]

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

def irb
  @irb_context.irb
end