Sha256: b60afb11a422a034a77686ed96303e62ee1a77bdd1b8b31e3617b40c83b6a47f
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
require 'innate/state/accessor' require 'innate/request' module Innate # The module to be included into the Controller it basically just provides # #request, #response and #session, each accessing Thread.current to # retrieve the demanded object module Trinity extend StateAccessor state_accessor :request, :response, :session, :actions def action actions.last end def action=(arg) raise "You have to modify Current::actions or use Current::action.wrap" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
manveru-innate-2009.02.06 | lib/innate/trinity.rb |
manveru-innate-2009.02.21 | lib/innate/trinity.rb |
manveru-innate-2009.02.25 | lib/innate/trinity.rb |