Class: IRB::RemoteService
- Inherits:
-
Object
- Object
- IRB::RemoteService
- Defined in:
- lib/drbirb/server.rb
Instance Method Summary collapse
-
#initialize ⇒ RemoteService
constructor
A new instance of RemoteService.
- #irb_start(input_proc = nil, output_proc = nil) ⇒ Object
Constructor Details
#initialize ⇒ RemoteService
Returns a new instance of RemoteService.
46 47 48 49 50 51 |
# File 'lib/drbirb/server.rb', line 46 def initialize # i was getting e2mmap redefinition warnings, # so moved this out of start_with_io IRB.setup nil IRB.conf[:PROMPT_MODE] = :DEFAULT end |
Instance Method Details
#irb_start(input_proc = nil, output_proc = nil) ⇒ Object
53 54 55 |
# File 'lib/drbirb/server.rb', line 53 def irb_start input_proc=nil, output_proc=nil IRB.start_with_io_procs input_proc, output_proc end |