Skip to content

Commit

Permalink
Use helper Store module in main module
Browse files Browse the repository at this point in the history
  • Loading branch information
Rein Henrichs committed Sep 27, 2011
1 parent d4c82d9 commit c268698
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/config_badger.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module ConfigBadger
autoload :VERSION, 'config_badger/version'

# Modules
autoload :Assertions, 'config_badger/assertions'
autoload :Errors, 'config_badger/errors'
autoload :Options, 'config_badger/options'
autoload :OptionsReader, 'config_badger/options_reader'
autoload :Store, 'config_badger/store'

# Stores
autoload :YAMLStore, 'config_badger/store/yaml_store'

include Errors
extend Assertions
extend OptionsReader
include Store

class << self; attr_accessor :options; end
options_reader :store, :env
Expand Down

0 comments on commit c268698

Please sign in to comment.