Jifty::Plugin::Config::Action::AddConfig(3pm)

Jifty::Plugin::Config::Action::AddConfig3pm

Add a configuration entry

Methods

contextualize

Takes a context string (slash-separated list of keys) and returns a pair of hash-references: the "top" of the config (for merging) and the "current pointer" into the "top" hashref for where the new config entry should go.

write_new_config

Merges the existing config file at "target_file" with the new entry and updates "target_file".

take_action

Sets "field = value" at "context" in "target_file".

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From libjifty-perl 1.10518+dfsg-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.