Sha256: c7cf8b77a3c9d9639aad66a05ef23d212c94a5c5943a47ba8e5826246f08156e
Contents?: true
Size: 314 Bytes
Versions: 3
Compression:
Stored size: 314 Bytes
Contents
module AlexCodebreaker class Configuration DEFAULT_PATH = 'stats.yml'.freeze attr_accessor :storage_path def initialize @storage_path = DEFAULT_PATH end end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alex_codebreaker-0.1.12 | lib/alex_codebreaker/configuration.rb |
alex_codebreaker-0.1.11 | lib/alex_codebreaker/configuration.rb |
alex_codebreaker-0.1.10 | lib/alex_codebreaker/configuration.rb |