Module: Github::Hooker::Config
- Defined in:
- lib/github-hooker/config.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
10 11 12 |
# File 'lib/github-hooker/config.rb', line 10 def self.config @config ||= YAML.load_file(File.(filename)) end |
.filename ⇒ Object
6 7 8 |
# File 'lib/github-hooker/config.rb', line 6 def self.filename "~/.github-hooker.yml" end |