Class: Build::Cost

Inherits:
Object
  • Object
show all
Defined in:
lib/core_blur/cost.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description, duration) ⇒ Cost



6
7
8
9
# File 'lib/core_blur/cost.rb', line 6

def initialize(description, duration)
  @description = description
  @duration= duration
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/core_blur/cost.rb', line 5

def description
  @description
end

#durationObject

Returns the value of attribute duration.



4
5
6
# File 'lib/core_blur/cost.rb', line 4

def duration
  @duration
end