Class: Crabfarm::Live::ReducerRunner::DisplayFileDecorator
- Inherits:
-
Object
- Object
- Crabfarm::Live::ReducerRunner::DisplayFileDecorator
- Defined in:
- lib/crabfarm/live/reducer_runner.rb
Instance Attribute Summary collapse
-
#last_path ⇒ Object
readonly
Returns the value of attribute last_path.
Instance Method Summary collapse
-
#initialize(_manager) ⇒ DisplayFileDecorator
constructor
A new instance of DisplayFileDecorator.
- #prepare(_class, _path, _params) ⇒ Object
Constructor Details
#initialize(_manager) ⇒ DisplayFileDecorator
Returns a new instance of DisplayFileDecorator.
81 82 83 |
# File 'lib/crabfarm/live/reducer_runner.rb', line 81 def initialize(_manager) @manager = _manager end |
Instance Attribute Details
#last_path ⇒ Object (readonly)
Returns the value of attribute last_path.
79 80 81 |
# File 'lib/crabfarm/live/reducer_runner.rb', line 79 def last_path @last_path end |
Instance Method Details
#prepare(_class, _path, _params) ⇒ Object
85 86 87 88 |
# File 'lib/crabfarm/live/reducer_runner.rb', line 85 def prepare(_class, _path, _params) @last_path = _path nil end |