Module: F00px::Configuration::Options

Included in:
F00px::Configuration
Defined in:
lib/f00px/configuration/options.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/f00px/configuration/options.rb', line 5

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#resetObject



39
40
41
# File 'lib/f00px/configuration/options.rb', line 39

def reset
  settings.replace(defaults)
end

#settingsObject



43
44
45
# File 'lib/f00px/configuration/options.rb', line 43

def settings
  @settings ||= {}
end