Class: Itsi::Server::Config::BeforeFork
- Defined in:
- lib/itsi/server/config/options/hooks/before_fork.rb
Instance Method Summary collapse
- #build! ⇒ Object
-
#initialize(location, ¶ms) ⇒ BeforeFork
constructor
A new instance of BeforeFork.
Methods included from ConfigHelpers
included, load_and_register, #normalize_keys!
Constructor Details
#initialize(location, ¶ms) ⇒ BeforeFork
Returns a new instance of BeforeFork.
17 18 19 |
# File 'lib/itsi/server/config/options/hooks/before_fork.rb', line 17 def initialize(location, ¶ms) super(location, params) end |
Instance Method Details
#build! ⇒ Object
21 22 23 24 |
# File 'lib/itsi/server/config/options/hooks/before_fork.rb', line 21 def build! location.[:hooks] ||= {} location.[:hooks][:before_fork] = @params end |