new(irb, workspace = nil, input_method = nil, output_method = nil)
Class Public methods
Creates a new IRB context.
The optional input_method
argument:
- nil
-
uses stdin or Readline
-
String
-
uses a File
-
other
-
uses this as InputMethod
Please login to continue.