Method: Artisan::Projects::StoryPointSummer#sum
- Defined in:
- lib/artisan/projects/story_point_summer.rb
#sum ⇒ Object
10 11 12 13 |
# File 'lib/artisan/projects/story_point_summer.rb', line 10 def sum total = @stories.inject(0){ |total, story| total + story.estimate } return total.round(2) end |