Class: IRB::Irb
- Inherits:
-
Object
- Object
- IRB::Irb
- Defined in:
- lib/tap/tasks/console.rb
Overview
Instance Method Summary collapse
-
#initialize(workspace = nil, *args) ⇒ Irb
constructor
A new instance of Irb.
- #initialize_orig ⇒ Object
Constructor Details
#initialize(workspace = nil, *args) ⇒ Irb
Returns a new instance of Irb.
8 9 10 11 12 |
# File 'lib/tap/tasks/console.rb', line 8 def initialize(workspace = nil, *args) default = IRB.conf[:DEFAULT_OBJECT] workspace ||= IRB::WorkSpace.new(default) if default initialize_orig(workspace, *args) end |
Instance Method Details
#initialize_orig ⇒ Object
7 |
# File 'lib/tap/tasks/console.rb', line 7 alias initialize_orig initialize |