Class: Est::Estimate::Const

Inherits:
Object
  • Object
show all
Defined in:
lib/est/estimate.rb

Overview

Constant estimate.

Instance Attribute Summary collapse

Instance Method Summary collapse

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.author
  @total = est.total
end

Instance Attribute Details

#authorObject (readonly)

Returns the value of attribute author.



62
63
64
# File 'lib/est/estimate.rb', line 62

def author
  @author
end

#dateObject (readonly)

Returns the value of attribute date.



62
63
64
# File 'lib/est/estimate.rb', line 62

def date
  @date
end

#totalObject (readonly)

Returns the value of attribute total.



62
63
64
# File 'lib/est/estimate.rb', line 62

def total
  @total
end