Class: Backup::Configuration::Store
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Backup::Configuration::Store
- Defined in:
- lib/backup/configuration/store.rb
Instance Method Summary collapse
-
#_attributes ⇒ Object
Returns an Array of all attribute method names that default values were set for.
-
#reset! ⇒ Object
Used only within the specs.
Instance Method Details
#_attributes ⇒ Object
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 |