Class: Blackbeard::MetricDate
- Inherits:
-
Object
- Object
- Blackbeard::MetricDate
- Defined in:
- lib/blackbeard/metric_date.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(date, result) ⇒ MetricDate
constructor
A new instance of MetricDate.
Constructor Details
#initialize(date, result) ⇒ MetricDate
Returns a new instance of MetricDate.
5 6 7 8 |
# File 'lib/blackbeard/metric_date.rb', line 5 def initialize(date, result) @date = date @result = result end |
Instance Attribute Details
#date ⇒ Object (readonly)
Returns the value of attribute date.
3 4 5 |
# File 'lib/blackbeard/metric_date.rb', line 3 def date @date end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
3 4 5 |
# File 'lib/blackbeard/metric_date.rb', line 3 def result @result end |