Module: Screengem::Configurable

Extended by:
ActiveSupport::Concern
Included in:
Question, Task
Defined in:
lib/screengem/concerns/configurable.rb

Overview

Concern that adds ability to configure a primitive with an actor and screen instance.

Instance Method Summary collapse

Instance Method Details

#configure(actor, screen) ⇒ Object



12
13
14
15
16
17
# File 'lib/screengem/concerns/configurable.rb', line 12

def configure(actor, screen)
  @actor = actor
  @screen = screen

  self
end