Class: Tlog::Command
- Inherits:
-
Object
- Object
- Tlog::Command
- Defined in:
- lib/tlog/command.rb
Direct Known Subclasses
All, Checkout, Create, Delete, Display, Help, Owner, Points, Pull, Push, Start, State, Stop
Defined Under Namespace
Classes: All, Checkout, Create, Delete, Display, Help, Owner, Points, Pull, Push, Start, State, Stop
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.
6 7 8 |
# File 'lib/tlog/command.rb', line 6 def date_time_format @date_time_format end |
#seconds_format ⇒ Object
Returns the value of attribute seconds_format.
5 6 7 |
# File 'lib/tlog/command.rb', line 5 def seconds_format @seconds_format end |
#storage ⇒ Object
Returns the value of attribute storage.
4 5 6 |
# File 'lib/tlog/command.rb', line 4 def storage @storage end |
Instance Method Details
#execute(input, output) ⇒ Object
8 9 10 |
# File 'lib/tlog/command.rb', line 8 def execute(input, output) raise Tlog::Error::NotImplementedError end |
#options(parser, options) ⇒ Object
12 13 |
# File 'lib/tlog/command.rb', line 12 def (parser, ) end |