Class: Groonga::GrntestLog::TaskEvent
- Inherits:
-
Struct
- Object
- Struct
- Groonga::GrntestLog::TaskEvent
- Defined in:
- lib/groonga/grntest-log.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#id ⇒ Object
Returns the value of attribute id.
-
#relative_end_time ⇒ Object
Returns the value of attribute relative_end_time.
-
#relative_start_time ⇒ Object
Returns the value of attribute relative_start_time.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command
132 133 134 |
# File 'lib/groonga/grntest-log.rb', line 132 def command @command end |
#id ⇒ Object
Returns the value of attribute id
132 133 134 |
# File 'lib/groonga/grntest-log.rb', line 132 def id @id end |
#relative_end_time ⇒ Object
Returns the value of attribute relative_end_time
132 133 134 |
# File 'lib/groonga/grntest-log.rb', line 132 def relative_end_time @relative_end_time end |
#relative_start_time ⇒ Object
Returns the value of attribute relative_start_time
132 133 134 |
# File 'lib/groonga/grntest-log.rb', line 132 def relative_start_time @relative_start_time end |
#result ⇒ Object
Returns the value of attribute result
132 133 134 |
# File 'lib/groonga/grntest-log.rb', line 132 def result @result end |
Instance Method Details
#elapsed_time ⇒ Object
135 136 137 |
# File 'lib/groonga/grntest-log.rb', line 135 def elapsed_time relative_end_time - relative_start_time end |