Class: Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/app/selfrunning.rb

Instance Method Summary collapse

Constructor Details

#initialize(renderer) ⇒ Runner

Returns a new instance of Runner.



27
28
29
# File 'lib/app/selfrunning.rb', line 27

def initialize(renderer)
  @renderer = renderer
end

Instance Method Details

#update(observable) ⇒ Object



30
31
32
# File 'lib/app/selfrunning.rb', line 30

def update(observable)
  @renderer.update_layout(observable)
end