lib/irb/cmd/nop.rb


DEFINITIONS

This source file includes following functions.


   1  #
   2  #   nop.rb - 
   3  #       $Release Version: 0.9$
   4  #       $Revision: 1.1 $
   5  #       $Date: 2002/07/09 11:17:17 $
   6  #       by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)
   7  #
   8  # --
   9  #
  10  #   
  11  #
  12  module IRB
  13    module ExtendCommand
  14      class Nop
  15        
  16        @RCS_ID='-$Id: nop.rb,v 1.1 2002/07/09 11:17:17 keiju Exp $-'
  17  
  18        def self.execute(conf, *opts)
  19          command = new(conf)
  20          command.execute(*opts)
  21        end
  22  
  23        def initialize(conf)
  24          @irb_context = conf
  25        end
  26  
  27        attr_reader :irb_context
  28  
  29        def irb
  30          @irb_context.irb
  31        end
  32  
  33        def execute(*opts)
  34          #nop
  35        end
  36      end
  37    end
  38  end
  39