Class: Rack::Console::Session
- Inherits:
-
Object
- Object
- Rack::Console::Session
- Includes:
- Test::Methods
- Defined in:
- lib/rack/console/session.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
-
#initialize(app) ⇒ Session
constructor
A new instance of Session.
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
#app ⇒ Object (readonly)
Returns the value of attribute app.
7 8 9 |
# File 'lib/rack/console/session.rb', line 7 def app @app end |