Sha256: 19abac904faa50893315280bb4bbfec058b21341949c332d010c1b0c066d9ef4
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
module AlexCodebreaker class Configuration DEFAULT_WINNERS_FOLDER_PATH = 'games/winners'.freeze DEFAULT_GAMES_FOLDER_PATH = 'games'.freeze attr_accessor :winners_folder_path, :games_folder_path def initialize @winners_folder_path = DEFAULT_WINNERS_FOLDER_PATH @games_folder_path = DEFAULT_GAMES_FOLDER_PATH end end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alex_codebreaker-0.2.3 | lib/alex_codebreaker/configuration.rb |
alex_codebreaker-0.2.2 | lib/alex_codebreaker/configuration.rb |