Class: Rack::Console::Session

Inherits:
Object
  • Object
show all
Includes:
Test::Methods
Defined in:
lib/rack/console/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Session

Returns a new instance of Session.



9
10
11
# File 'lib/rack/console/session.rb', line 9

def initialize(app)
  @app = app
end

Instance Attribute Details

#appObject (readonly)

Returns the value of attribute app.



7
8
9
# File 'lib/rack/console/session.rb', line 7

def app
  @app
end