Class: Ramaze::Current
- Inherits:
-
Innate::Current
- Object
- Innate::Current
- Ramaze::Current
- Defined in:
- lib/ramaze/current.rb
Overview
Class that’s used to point to the current action. This can be useful if you want to access data such as the session() method without having to include Innate::Trinity (which can pollute your namespace and/or cause collisions).
Instance Method Summary (collapse)
Instance Method Details
- (Object) setup(env, request = Request, response = Response, session = Session)
15 16 17 |
# File 'lib/ramaze/current.rb', line 15 def setup(env, request = Request, response = Response, session = Session) super end |