Class: Tlog::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/tlog/command.rb

Direct Known Subclasses

Active, Create, Delete, Display, Init, Start, Stop, Test

Defined Under Namespace

Classes: Active, Create, Delete, Display, Init, Start, Stop, Test

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#date_time_formatObject

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_formatObject

Returns the value of attribute seconds_format.



4
5
6
# File 'lib/tlog/command.rb', line 4

def seconds_format
  @seconds_format
end

#storageObject

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

Raises:

  • (NotImplementedError)


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 options(parser, options)
end