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)
Methods inherited from Innate::Current
Methods included from Innate::Trinity
Methods included from Innate::StateAccessor
each, #state_accessor, #state_reader, #state_writer
Constructor Details
This class inherits a constructor from Innate::Current
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 |