Class: GitLab::Monitor::TrackedResult
- Inherits:
-
Struct
- Object
- Struct
- GitLab::Monitor::TrackedResult
- Defined in:
- lib/gitlab_monitor/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_monitor/util.rb', line 6 def result @result end |
#time ⇒ Object
Returns the value of attribute time
6 7 8 |
# File 'lib/gitlab_monitor/util.rb', line 6 def time @time end |
Instance Method Details
#to_i ⇒ Object
7 8 9 |
# File 'lib/gitlab_monitor/util.rb', line 7 def to_i time end |