Class: AgileTrello::VelocityCalculator

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

Instance Method Summary collapse

Constructor Details

#initializeVelocityCalculator

Returns a new instance of VelocityCalculator.



3
4
5
# File 'lib/VelocityCalculator.rb', line 3

def initialize
	@total = 0
end

Instance Method Details

#add(complexity) ⇒ Object



7
8
9
# File 'lib/VelocityCalculator.rb', line 7

def add(complexity)
	@total += complexity
end

#totalObject



11
12
13
# File 'lib/VelocityCalculator.rb', line 11

def total
	@total
end