Class: Blackbeard::MetricDate

Inherits:
Object
  • Object
show all
Defined in:
lib/blackbeard/metric_date.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dateObject (readonly)

Returns the value of attribute date.



3
4
5
# File 'lib/blackbeard/metric_date.rb', line 3

def date
  @date
end

#resultObject (readonly)

Returns the value of attribute result.



3
4
5
# File 'lib/blackbeard/metric_date.rb', line 3

def result
  @result
end