Class: Tcelfer::Models::Day
- Inherits:
-
Object
- Object
- Tcelfer::Models::Day
- Defined in:
- lib/tcelfer/models/day.rb
Overview
Day model
Instance Method Summary collapse
-
#to_s ⇒ String
Pretty format for a Day model 2019-01-17: Normal, Average Day.
Instance Method Details
#to_s ⇒ String
Pretty format for a Day model 2019-01-17: Normal, Average Day
28 29 30 31 32 |
# File 'lib/tcelfer/models/day.rb', line 28 def to_s str = "#{date}: #{}" str += " || Notes: #{notes}" unless notes.nil? str end |