Class: Estimate::Project
- Inherits:
-
Object
- Object
- Estimate::Project
- Defined in:
- lib/estimate/project.rb
Instance Method Summary collapse
-
#initialize(name, properties = {}) ⇒ Project
constructor
A new instance of Project.
- #process! ⇒ Object
Constructor Details
#initialize(name, properties = {}) ⇒ Project
Returns a new instance of Project.
6 7 8 9 |
# File 'lib/estimate/project.rb', line 6 def initialize name, properties={} @name = name @properties = properties end |
Instance Method Details
#process! ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/estimate/project.rb', line 11 def process! """ Project: #{@name} Incomplete stories: #{incomplete_stories.length} And your project end date is..... #{display_end_date} You have #{remaining_days} days to complete this project. """ end |