Class: Tlog::Command::Active
Instance Attribute Summary
#date_time_format, #seconds_format, #storage
Instance Method Summary
collapse
Instance Method Details
#description ⇒ Object
8
9
10
|
# File 'lib/tlog/command/active.rb', line 8
def description
"prints out all active time logs, the time log in-progress if there is one. Or the currently checked-out time log"
end
|
#execute(input, output) ⇒ Object
12
13
14
|
# File 'lib/tlog/command/active.rb', line 12
def execute(input, output)
print_time_entry(output)
end
|
#name ⇒ Object
4
5
6
|
# File 'lib/tlog/command/active.rb', line 4
def name
"active"
end
|
#options(parser, options) ⇒ Object
16
17
18
|
# File 'lib/tlog/command/active.rb', line 16
def options(parser, options)
parser.banner = "usage: tlog active"
end
|