Class: IRuby::KernelApplication
- Inherits:
-
Object
- Object
- IRuby::KernelApplication
- Defined in:
- lib/iruby/kernel_app.rb
Constant Summary collapse
- DEFAULT_CONNECTION_FILE =
"kernel-#{Process.pid}.json".freeze
Instance Method Summary collapse
-
#initialize(argv) ⇒ KernelApplication
constructor
A new instance of KernelApplication.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ KernelApplication
Returns a new instance of KernelApplication.
3 4 5 |
# File 'lib/iruby/kernel_app.rb', line 3 def initialize(argv) parse_command_line(argv) end |
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/iruby/kernel_app.rb', line 7 def run if @test_mode dump_connection_file return end run_kernel end |