Class: Jets::Commands::Console

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/commands/console.rb

Class Method Summary collapse

Class Method Details

.runObject



2
3
4
5
6
7
8
9
10
11
# File 'lib/jets/commands/console.rb', line 2

def self.run
  puts Jets::Booter.message

  # Thanks: https://mutelight.org/bin-console
  require "irb"
  require "irb/completion"

  ARGV.clear # https://stackoverflow.com/questions/33070092/irb-start-not-starting/33136762
  IRB.start
end