Class: Ramaze::Current

Inherits:
Innate::Current show all
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).

Author:

Since:

Instance Method Summary (collapse)

Methods inherited from Innate::Current

#call, #initialize

Methods included from Innate::Trinity

#action

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)

See Also:

Author:

  • Michael Fellinger

Since:

  • 25-03-2009



15
16
17
# File 'lib/ramaze/current.rb', line 15

def setup(env, request = Request, response = Response, session = Session)
  super
end