formatting
removed logs
refactoring - dividing logic into two methods 1. calculating data and 2. setting Avatar attributes
formatting
move calories calculation method from avatar to separate clas
calories calculator receives and returns params hash and not individual parameters
fix - this method is static
this is nice - can use update_attributes method and pass a hash to it to update multiple Avatar attributes at once
inline method local variable to make method more compact
extracted calculate_bee method to make main calculate method smaller
calculate_bee is private so make it private
added comment
there is no need for bee variable
extracted bee calculation to separate class
CalculateCalories class already suggests that is calculates caloies
BeeCalculator class already suggests that is calculates bee
moved calculators to separate folder
formatting
shorter class name as calculator folder already suggests that it is about calculators
Merge pull request #4 from wolak88/create-calorie-counter-extract-calculator

extract calculator from avatar model