Class: Akephalos::Console
- Inherits:
-
Object
- Object
- Akephalos::Console
- Defined in:
- lib/akephalos/console.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/akephalos/console.rb', line 10 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 |