Class: RegApi2::Console
- Inherits:
-
Object
- Object
- RegApi2::Console
- Defined in:
- lib/reg_api2/console.rb
Overview
Runs Interactive Ruby Shell
Constant Summary collapse
- GEM_ROOT =
Gem root.
File.("../..", File.dirname(__FILE__)).freeze
Class Method Summary collapse
-
.run! ⇒ Object
Runs irb with our console helpers.
Class Method Details
.run! ⇒ Object
Runs irb with our console helpers.
9 10 11 |
# File 'lib/reg_api2/console.rb', line 9 def self.run! Kernel.exec("irb --readline -I #{File.join(GEM_ROOT, 'lib')} -r reg_api2/console_helpers") end |