/usr/lib/ruby/vendor_ruby/innate/options.rb is in ruby-innate 2013.02.21-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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | module Innate
# this has to be run after a couple of other files have been required
options.dsl do
o "Innate::start will not start an adapter if true",
:started, false
o "Will send ::setup to each element during Innate::start",
:setup, [Innate, Innate::Cache, Innate::Node]
o "Trap this signal to issue shutdown, nil/false to disable trap",
:trap, 'SIGINT'
o "Indicates which default middleware to use, (:dev|:live)",
:mode, :dev
o "The directories this application resides in",
:roots, [File.dirname($0)]
o "The directories containing static files to be served",
:publics, ['public']
o "Directories containing the view templates",
:views, ['view']
o "Directories containing the layout templates",
:layouts, ['layout']
o "Prefix used to create relative links",
:prefix, '/'
trigger(:mode){|value| Innate.recompile_middleware(value) }
end
end
|