Class: Avmtrf1::Tools::Runner::Forponto::Marcacoes

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Defined in:
lib/avmtrf1/tools/runner/forponto/marcacoes.rb

Constant Summary collapse

DOC =
"Mostra marca\u00E7\u00F5es Forponto do dia.\n\nUsage:\n  __PROGRAM__ [options]\n  __PROGRAM__ -h | --help\n\nOptions:\n  -h --help           Show this screen.\n"

Instance Method Summary collapse

Instance Method Details

#runObject



26
27
28
29
30
31
32
# File 'lib/avmtrf1/tools/runner/forponto/marcacoes.rb', line 26

def run
  infov 'Date', day_registers.date
  infov 'Times', day_registers.times.count
  day_registers.times.each_with_index do |time, index|
    infov "  * #{index + 1}º", time
  end
end