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 =
<<~DOCOPT
  Mostra marcações Forponto do dia.

  Usage:
    __PROGRAM__ [options]
    __PROGRAM__ -h | --help

  Options:
    -h --help           Show this screen.
DOCOPT

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