Class: Nestor::Script

Inherits:
Watchr::Script
  • Object
show all
Defined in:
lib/nestor/script.rb

Instance Method Summary collapse

Instance Method Details

#nestor_machine=(machine) ⇒ Object

Let’s the script have a reference to the machine, to generate events. The actual instance variable name is @machine, not @nestor_machine.



5
6
7
# File 'lib/nestor/script.rb', line 5

def nestor_machine=(machine)
  @machine = machine
end