Class: IntermediateDietLoss
Instance Method Summary collapse
-
#generate_diet(context) ⇒ Object
generate diet method.
Instance Method Details
#generate_diet(context) ⇒ Object
generate diet method
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/intermediate_diet_loss.rb', line 6 def generate_diet(context) @hash = Hash.new @hash.store("diet_type","intermediate_diet_loss") @hash.store("time_interval",60) @hash.store("date_started",context.date_started) @hash.store("initial_weight",context.initial_weight) @hash.store("target_weight",context.target_weight) @hash.store("daily_calories",1200) @hash end |