Class: Tlog::Command
- Inherits:
-
Object
- Object
- Tlog::Command
- Defined in:
- lib/tlog/command.rb
Defined Under Namespace
Classes: Active, Create, Delete, Display, Init, Start, Stop, Test
Instance Attribute Summary collapse
-
#date_time_format ⇒ Object
Returns the value of attribute date_time_format.
-
#seconds_format ⇒ Object
Returns the value of attribute seconds_format.
-
#storage ⇒ Object
Returns the value of attribute storage.
Instance Method Summary collapse
Instance Attribute Details
#date_time_format ⇒ Object
Returns the value of attribute date_time_format.
5 6 7 |
# File 'lib/tlog/command.rb', line 5 def date_time_format @date_time_format end |
#seconds_format ⇒ Object
Returns the value of attribute seconds_format.
4 5 6 |
# File 'lib/tlog/command.rb', line 4 def seconds_format @seconds_format end |
#storage ⇒ Object
Returns the value of attribute storage.
3 4 5 |
# File 'lib/tlog/command.rb', line 3 def storage @storage end |
Instance Method Details
#execute(input, output) ⇒ Object
7 8 9 |
# File 'lib/tlog/command.rb', line 7 def execute(input, output) raise NotImplementedError end |
#options(parser, options) ⇒ Object
11 12 |
# File 'lib/tlog/command.rb', line 11 def (parser, ) end |