Class: Build::Cost
- Inherits:
-
Object
- Object
- Build::Cost
- Defined in:
- lib/core_blur/cost.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#duration ⇒ Object
Returns the value of attribute duration.
Instance Method Summary collapse
-
#initialize(description, duration) ⇒ Cost
constructor
A new instance of Cost.
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
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/core_blur/cost.rb', line 5 def description @description end |
#duration ⇒ Object
Returns the value of attribute duration.
4 5 6 |
# File 'lib/core_blur/cost.rb', line 4 def duration @duration end |