Method: Loops::Command#invoke

Defined in:
lib/loops/command.rb

#invoke(engine, options) ⇒ Object

Invoke a command.

Initiaizes #engine and #options variables and executes a command.



20
21
22
23
24
25
# File 'lib/loops/command.rb', line 20

def invoke(engine, options)
  @engine = engine
  @options = options

  execute
end