Class: Tlog::Command::Stop
Instance Attribute Summary
#date_time_format, #seconds_format, #storage
Instance Method Summary
collapse
Instance Method Details
#description ⇒ Object
7
8
9
|
# File 'lib/tlog/command/stop.rb', line 7
def description
"ends a task for a time log"
end
|
#execute(input, output) ⇒ Object
11
12
13
|
# File 'lib/tlog/command/stop.rb', line 11
def execute(input, output)
stop
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/tlog/command/stop.rb', line 3
def name
"stop"
end
|
#options(parser, options) ⇒ Object
15
16
17
|
# File 'lib/tlog/command/stop.rb', line 15
def options(parser, options)
parser.banner = "usage: tlog stop"
end
|