Class: Ramaze::Current

Inherits:
Innate::Current
  • Object
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:

  • Michael Fellinger

Since:

  • 25-03-2009

Instance Method Summary collapse

Instance Method Details

#setup(env, request = Request, response = Response, session = Session) ⇒ Object

See Also:

  • Innate::Current#setup

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