Class: Insulin::Month
- Inherits:
-
NDayPeriod
- Object
- Array
- NDayPeriod
- Insulin::Month
- Defined in:
- lib/insulin/month.rb
Instance Attribute Summary
Attributes inherited from NDayPeriod
#descriptor, #hba1c, #start_date
Instance Method Summary collapse
-
#initialize(date, mongo) ⇒ Month
constructor
A new instance of Month.
Methods inherited from NDayPeriod
Constructor Details
#initialize(date, mongo) ⇒ Month
Returns a new instance of Month.
5 6 7 8 9 10 11 |
# File 'lib/insulin/month.rb', line 5 def initialize date, mongo super({ "start_date" => date, "days" => 30, "mongo" => mongo }) end |