Class: Backup::Config::Defaults
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Backup::Config::Defaults
- Defined in:
- lib/backup/config/helpers.rb
Overview
Store for pre-configured defaults.
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.
132 133 134 |
# File 'lib/backup/config/helpers.rb', line 132 def _attributes @table.keys end |
#reset! ⇒ Object
Used only within the specs
137 138 139 |
# File 'lib/backup/config/helpers.rb', line 137 def reset! @table.clear end |