Class: Backup::Configuration::Store

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/backup/configuration/store.rb

Instance Method Summary collapse

Instance Method Details

#_attributesObject

Returns an Array of all attribute method names that default values were set for.



12
13
14
# File 'lib/backup/configuration/store.rb', line 12

def _attributes
  @table.keys
end

#reset!Object

Used only within the specs



18
19
20
# File 'lib/backup/configuration/store.rb', line 18

def reset!
  @table.clear
end