Class: Rustic::CommandBuilders::Snapshots
- Inherits:
-
Object
- Object
- Rustic::CommandBuilders::Snapshots
- Defined in:
- lib/rustic/command_builders/snapshots.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(_config) ⇒ Snapshots
constructor
A new instance of Snapshots.
Constructor Details
#initialize(_config) ⇒ Snapshots
Returns a new instance of Snapshots.
6 |
# File 'lib/rustic/command_builders/snapshots.rb', line 6 def initialize(_config) = nil |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/rustic/command_builders/snapshots.rb', line 4 def config @config end |
Instance Method Details
#build ⇒ Object
8 9 10 |
# File 'lib/rustic/command_builders/snapshots.rb', line 8 def build ["snapshots"] end |