Sha256: 8a029fe34696b70a911a1154d4e41f3ea5e6487cce9c407f76fd95e47e6b62e8

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

require 'yaml'

module Korinthenkacker
  module Configuration
    extend self

    def jenkins_url
      settings['jenkins']['url']
    end

    private
    def settings
      @settings ||= YAML.load_file('.korinthenkacker.yml')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
korinthenkacker-0.0.3 lib/korinthenkacker/configuration.rb
korinthenkacker-0.0.2 lib/korinthenkacker/configuration.rb
korinthenkacker-0.0.1 lib/korinthenkacker/configuration.rb