File: current.rb

package info (click to toggle)
ruby-ramaze 2012.12.08-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,060 kB
  • ctags: 1,200
  • sloc: ruby: 10,446; makefile: 8
file content (19 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Ramaze
  ##
  # 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
  #
  class Current < Innate::Current
    ##
    # @author Michael Fellinger
    # @since  25-03-2009
    # @see    Innate::Current#setup
    def setup(env, request = Request, response = Response, session = Session)
      super
    end
  end # Current
end # Ramaze