Class: ForemanThemeSatellite::PryRack

Inherits:
Object
  • Object
show all
Defined in:
lib/foreman_theme_satellite/pry_rack.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ PryRack

Returns a new instance of PryRack.



3
4
5
# File 'lib/foreman_theme_satellite/pry_rack.rb', line 3

def initialize(app)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



7
8
9
10
# File 'lib/foreman_theme_satellite/pry_rack.rb', line 7

def call(env)
  binding.pry
  @app.call(env)
end