class RegApi2::Console
Runs Interactive Ruby Shell
Constants
- GEM_ROOT
Gem root.
Public Class Methods
run!()
click to toggle source
Runs irb with our console helpers.
# File lib/reg_api2/console.rb, line 8 def self.run! Kernel.exec("irb --readline -I #{File.join(GEM_ROOT, 'lib')} -r reg_api2/console_helpers") end