Class: Rack::Hanoi
- Inherits:
-
Object
- Object
- Rack::Hanoi
- Defined in:
- lib/rack/hanoi.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Hanoi
constructor
A new instance of Hanoi.
Constructor Details
#initialize(app) ⇒ Hanoi
Returns a new instance of Hanoi.
5 6 7 |
# File 'lib/rack/hanoi.rb', line 5 def initialize(app) @app = app end |