Class: Bard::Backup::CachedLocalBackhoe
- Inherits:
-
Struct
- Object
- Struct
- Bard::Backup::CachedLocalBackhoe
- Defined in:
- lib/bard/backup/cached_local_backhoe.rb
Instance Attribute Summary collapse
-
#now ⇒ Object
Returns the value of attribute now.
-
#s3_dir ⇒ Object
Returns the value of attribute s3_dir.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#now ⇒ Object
Returns the value of attribute now
5 6 7 |
# File 'lib/bard/backup/cached_local_backhoe.rb', line 5 def now @now end |
#s3_dir ⇒ Object
Returns the value of attribute s3_dir
5 6 7 |
# File 'lib/bard/backup/cached_local_backhoe.rb', line 5 def s3_dir @s3_dir end |
Class Method Details
.call(*args) ⇒ Object
6 7 8 |
# File 'lib/bard/backup/cached_local_backhoe.rb', line 6 def self.call *args new(*args).call end |
Instance Method Details
#call ⇒ Object
10 11 12 |
# File 'lib/bard/backup/cached_local_backhoe.rb', line 10 def call s3_dir.put path end |