Sha256: 575cb279093cad5ffd781783f3c9a88ecdb211aa6cfb9bccfd8789c19094d7f3

Contents?: true

Size: 287 Bytes

Versions: 26

Compression:

Stored size: 287 Bytes

Contents

require 'irb'
require 'irb/completion'
class Rack::App::CLI::DefaultCommands::IRB < Rack::App::CLI::Command

  description 'open an irb session with the application loaded in'

  action do |*args|
    Rack::App::CLI.rack_app
    ARGV.clear
    ARGV.push(*args)
    ::IRB.start
  end

end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
rack-app-11.0.2 lib/rack/app/cli/default_commands/irb.rb
rack-app-11.0.1 lib/rack/app/cli/default_commands/irb.rb
rack-app-11.0.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-10.0.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-9.0.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-8.1.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-8.0.1 lib/rack/app/cli/default_commands/irb.rb
rack-app-8.0.0 lib/rack/app/cli/default_commands/irb.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/default_commands/irb.rb
rack-app-7.7.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.5 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.4 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.3 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.2 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.1 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.6.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.5.2 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.5.1 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.5.0 lib/rack/app/cli/default_commands/irb.rb
rack-app-7.4.0 lib/rack/app/cli/default_commands/irb.rb