Module: Doing::WWIDDisplay
- Included in:
- WWID
- Defined in:
- lib/doing/wwid/display.rb
Overview
Display methods for WWID class
Instance Method Summary collapse
-
#last(times: true, section: nil, options: {}) ⇒ Object
Show the last entry.
-
#last_entry(opt) ⇒ Object
Get the last entry.
-
#last_note(section = 'All') ⇒ Object
Return the content of the last note for a given section.
-
#list_date(dates, section, times = nil, output = nil, opt) ⇒ Object
Display entries within a date range.
-
#list_section(opt, items: Items.new) ⇒ Object
Display contents of a section based on options.
-
#recent(count = 10, section = nil, opt) ⇒ Object
Show recent entries.
-
#today(times = true, output = nil, opt) ⇒ Object
Show all entries from the current day.
-
#yesterday(section, times = nil, output = nil, opt) ⇒ Object
Show entries from the previous day.
Instance Method Details
#last(times: true, section: nil, options: {}) ⇒ Object
Show the last entry
#last_entry(opt) ⇒ Object
Get the last entry
#last_note(section = 'All') ⇒ Object
Return the content of the last note for a given section
#list_date(dates, section, times = nil, output = nil, opt) ⇒ Object
Display entries within a date range
#list_section(opt, items: Items.new) ⇒ Object
Display contents of a section based on options
#recent(count = 10, section = nil, opt) ⇒ Object
Show recent entries
#today(times = true, output = nil, opt) ⇒ Object
Show all entries from the current day
#yesterday(section, times = nil, output = nil, opt) ⇒ Object
Show entries from the previous day