Method: CommandTimer::Command#exec

Defined in:
lib/command_timer/command.rb

#execObject



16
17
18
19
20
21
22
# File 'lib/command_timer/command.rb', line 16

def exec
  echo_command
  system @content
  if @observer
    run_observer
  end
end