Method: Talks#execute

Defined in:
lib/talks.rb

#execute(command) ⇒ Object



62
63
64
65
66
67
# File 'lib/talks.rb', line 62

def execute(command)
  before_notify, command, after_notify = command
  Talks.notify before_notify if before_notify
  system command
  Talks.notify after_notify if after_notify
end