Module: Innate::Trinity

Extended by:
StateAccessor
Included in:
Innate, Current
Defined in:
lib/innate/trinity.rb

Overview

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

Instance Method Summary collapse

Methods included from StateAccessor

each, state_accessor, state_reader, state_writer

Instance Method Details

#actionObject



14
15
16
# File 'lib/innate/trinity.rb', line 14

def action
  actions.last
end