Class: Rack::Livejs
- Inherits:
-
Object
- Object
- Rack::Livejs
- Defined in:
- lib/rack/livejs.rb,
lib/rack/livejs/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, options = {}) ⇒ Livejs
constructor
A new instance of Livejs.
Constructor Details
#initialize(app, options = {}) ⇒ Livejs
Returns a new instance of Livejs.
8 9 10 |
# File 'lib/rack/livejs.rb', line 8 def initialize(app, = {}) @app, = app, end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
6 7 8 |
# File 'lib/rack/livejs.rb', line 6 def app @app end |
Instance Method Details
#call(env) ⇒ Object
12 13 14 |
# File 'lib/rack/livejs.rb', line 12 def call(env) self.dup._call(env) end |