Sha256: d843f905c190b070cad9376cae20968329d16eed3ad56d9f01b39baa55925d35

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

require 'foul_ball/the_words'

module FoulBall
  class Configuration
    attr_accessor :banned_words
    extend TheWords

    def initialize
      @banned_words = []
    end

    def self.load_defaults
      conf = Configuration.new.tap do |c|
        c.banned_words = default_banned_words
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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