new() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/irb/input-method.rb, line 43
    def initialize
      super
      @line_no = 0
      @line = []
      @stdin = IO.open(STDIN.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-")
      @stdout = IO.open(STDOUT.to_i, 'w', :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-")
    end
Register or log in to add new notes.