Class: GitLab::Exporter::TrackedResult
- Inherits:
-
Struct
- Object
- Struct
- GitLab::Exporter::TrackedResult
- Defined in:
- lib/gitlab_exporter/util.rb
Overview
Simple time wrapper that provides a to_i and wraps the execution result
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result
6 7 8 |
# File 'lib/gitlab_exporter/util.rb', line 6 def result @result end |
#time ⇒ Object
Returns the value of attribute time
6 7 8 |
# File 'lib/gitlab_exporter/util.rb', line 6 def time @time end |
Instance Method Details
#to_i ⇒ Object
7 8 9 |
# File 'lib/gitlab_exporter/util.rb', line 7 def to_i time end |