module Ghundle::Config

Attributes

hooks_root[RW]

Public Instance Methods

hook_path(hook_name) click to toggle source
# File lib/ghundle/config.rb, line 11
def hook_path(hook_name)
  if not hooks_root.directory?
    FileUtils.mkdir_p(hooks_root)
  end

  hooks_root.join(hook_name)
end