Module: Rack::Console::Methods

Defined in:
lib/rack/console/methods.rb

Instance Method Summary collapse

Instance Method Details

#appObject



10
11
12
# File 'lib/rack/console/methods.rb', line 10

def app
  @app
end

#reload!Object



4
5
6
7
8
# File 'lib/rack/console/methods.rb', line 4

def reload!
  ENV['IGNORE_RACK_CONSOLE_INTRO'] = 'true'
  puts 'Reloading...'
  Kernel.exec $0, *ARGV
end