Class: Est::Estimate::Const
- Inherits:
-
Object
- Object
- Est::Estimate::Const
- Defined in:
- lib/est/estimate.rb
Overview
Constant estimate.
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(est) ⇒ Const
constructor
Ctor.
Constructor Details
#initialize(est) ⇒ Const
Ctor.
est
-
Estimate
65 66 67 68 69 |
# File 'lib/est/estimate.rb', line 65 def initialize(est) @date = est.date @author = est. @total = est.total end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
62 63 64 |
# File 'lib/est/estimate.rb', line 62 def @author end |
#date ⇒ Object (readonly)
Returns the value of attribute date.
62 63 64 |
# File 'lib/est/estimate.rb', line 62 def date @date end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
62 63 64 |
# File 'lib/est/estimate.rb', line 62 def total @total end |