Sha256: 28bb548b20db87fc7da0782ea69c65ac9209fd153a9386cf2be27df9e06b6fed

Contents?: true

Size: 304 Bytes

Versions: 72

Compression:

Stored size: 304 Bytes

Contents

class Jets::Commands::Console
  def self.run
    puts Jets::Booter.message
    Jets.boot

    # 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
end

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
jets-1.9.7 lib/jets/commands/console.rb
jets-1.9.6 lib/jets/commands/console.rb
jets-1.9.5 lib/jets/commands/console.rb
jets-1.9.4 lib/jets/commands/console.rb
jets-1.9.3 lib/jets/commands/console.rb
jets-1.9.2 lib/jets/commands/console.rb
jets-1.9.1 lib/jets/commands/console.rb
jets-1.9.0 lib/jets/commands/console.rb
jets-1.8.14 lib/jets/commands/console.rb
jets-1.8.13 lib/jets/commands/console.rb
jets-1.8.12 lib/jets/commands/console.rb
jets-1.8.11 lib/jets/commands/console.rb
jets-1.8.10 lib/jets/commands/console.rb
jets-1.8.9 lib/jets/commands/console.rb
jets-1.8.8 lib/jets/commands/console.rb
jets-1.8.7 lib/jets/commands/console.rb
jets-1.8.6 lib/jets/commands/console.rb
jets-1.8.5 lib/jets/commands/console.rb
jets-1.8.4 lib/jets/commands/console.rb
jets-1.8.3 lib/jets/commands/console.rb