Class: Crabfarm::Live::ReducerRunner::DisplayFileDecorator

Inherits:
Object
  • Object
show all
Defined in:
lib/crabfarm/live/reducer_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathObject (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