/usr/lib/ruby/1.9.1/innate/trinity.rb is in libinnate-ruby1.9.1 2010.07-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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
end
end
|