Class: PoringBackup::Storage
- Inherits:
-
Object
- Object
- PoringBackup::Storage
- Defined in:
- lib/poring_backup/storage.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#setting ⇒ Object
readonly
Returns the value of attribute setting.
Instance Method Summary collapse
-
#initialize(setting, &block) ⇒ Storage
constructor
A new instance of Storage.
Constructor Details
#initialize(setting, &block) ⇒ Storage
Returns a new instance of Storage.
6 7 8 |
# File 'lib/poring_backup/storage.rb', line 6 def initialize setting, &block @setting = setting end |
Instance Attribute Details
#setting ⇒ Object (readonly)
Returns the value of attribute setting.
4 5 6 |
# File 'lib/poring_backup/storage.rb', line 4 def setting @setting end |