Sha256: 61fa2cc45d65e035b4d9976ca75624653fdabb4885eb1d3d1cffb5b7b78ea199

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'foul_ball/configuration'
require 'foul_ball/version'
require 'foul_ball/umpire'

module FoulBall

  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.load_defaults
  end

  def self.reset
    @configuration = Configuration.load_defaults
  end

  def self.configure
    yield(configuration)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foul_ball-0.1.4 lib/foul_ball.rb
foul_ball-0.1.3 lib/foul_ball.rb