Class: Stratify::Archiver
- Inherits:
-
Object
- Object
- Stratify::Archiver
- Defined in:
- lib/stratify/archiver.rb
Instance Attribute Summary collapse
-
#collector ⇒ Object
readonly
Returns the value of attribute collector.
Instance Method Summary collapse
-
#initialize(collector) ⇒ Archiver
constructor
A new instance of Archiver.
- #run ⇒ Object
Constructor Details
#initialize(collector) ⇒ Archiver
Returns a new instance of Archiver.
7 8 9 |
# File 'lib/stratify/archiver.rb', line 7 def initialize(collector) @collector = collector end |
Instance Attribute Details
#collector ⇒ Object (readonly)
Returns the value of attribute collector.
5 6 7 |
# File 'lib/stratify/archiver.rb', line 5 def collector @collector end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 |
# File 'lib/stratify/archiver.rb', line 11 def run collect_activities ensure record_collection_statistics end |