Class: PostRunner::DailySleepAnalyzer::SleepInterval
- Inherits:
-
Struct
- Object
- Struct
- PostRunner::DailySleepAnalyzer::SleepInterval
- Defined in:
- lib/postrunner/DailySleepAnalyzer.rb
Overview
Utility class to store the interval of a sleep/wake phase.
Instance Attribute Summary collapse
-
#from_time ⇒ Object
Returns the value of attribute from_time.
-
#phase ⇒ Object
Returns the value of attribute phase.
-
#to_time ⇒ Object
Returns the value of attribute to_time.
Instance Attribute Details
#from_time ⇒ Object
Returns the value of attribute from_time
23 24 25 |
# File 'lib/postrunner/DailySleepAnalyzer.rb', line 23 def from_time @from_time end |
#phase ⇒ Object
Returns the value of attribute phase
23 24 25 |
# File 'lib/postrunner/DailySleepAnalyzer.rb', line 23 def phase @phase end |
#to_time ⇒ Object
Returns the value of attribute to_time
23 24 25 |
# File 'lib/postrunner/DailySleepAnalyzer.rb', line 23 def to_time @to_time end |