Class: Harbor::Console
- Inherits:
-
Object
- Object
- Harbor::Console
- Defined in:
- lib/harbor/console.rb
Overview
Class Method Summary collapse
Class Method Details
.start ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/harbor/console.rb', line 17 def self.start require 'irb' begin require 'irb/completion' rescue Exception # No readline available, proceed anyway. end if ::File.exists? ".irbrc" ENV['IRBRC'] = ".irbrc" end IRB.start end |