class ConfWorkflow::ConfActions

Manage configuration

Public Class Methods

new(conf = Conf) click to toggle source
# File lib/plugins/conf_actions.rb, line 6
def initialize(conf = Conf)
  @conf = conf
end

Public Instance Methods

key(hkey) click to toggle source
# File lib/plugins/conf_actions.rb, line 14
def key(hkey)
  @conf["#{hkey}"]
end
select(query) click to toggle source
# File lib/plugins/conf_actions.rb, line 10
def select(query)
  query == "*" ? @conf.to_hash : recursive_search(query, @conf.to_hash)
end

Private Instance Methods