Class: Umwelt::History::Follow
- Inherits:
-
Abstract::Interactor
- Object
- Abstract::Interactor
- Umwelt::History::Follow
- Defined in:
- lib/umwelt/history/follow.rb
Instance Method Summary collapse
- #call(phases) ⇒ Object
-
#initialize(reader: Umwelt::Episode::File::Restore, path: '.umwelt') ⇒ Follow
constructor
A new instance of Follow.
Methods inherited from Abstract::Interactor
Constructor Details
Instance Method Details
#call(phases) ⇒ Object
14 15 16 |
# File 'lib/umwelt/history/follow.rb', line 14 def call(phases) @episodes = phases.map { |phase| episode(phase) } end |