7 8 9 10 11 12 13 14 15 16 17
# File 'lib/ghrh/command/hooks.rb', line 7 def execute GHRH::Config.fetch_hooks if refresh? hooks = GHRH::Config.hooks if hook pp hooks[hook] else puts hooks.keys.sort end end