Class: TerminalCalendar::Month::NullDay
- Inherits:
-
CalendarDay
- Object
- CalendarDay
- TerminalCalendar::Month::NullDay
- Defined in:
- lib/terminal_calendar/month/calendar_day.rb
Instance Attribute Summary
Attributes inherited from CalendarDay
Instance Method Summary collapse
-
#initialize ⇒ NullDay
constructor
A new instance of NullDay.
-
#null? ⇒ true
Returns whether the object is null or not.
- #render ⇒ Object (also: #to_s)
Methods inherited from CalendarDay
Constructor Details
#initialize ⇒ NullDay
Returns a new instance of NullDay.
52 53 54 |
# File 'lib/terminal_calendar/month/calendar_day.rb', line 52 def initialize super(nil) end |
Instance Method Details
#null? ⇒ true
Returns whether the object is null or not.
64 65 66 |
# File 'lib/terminal_calendar/month/calendar_day.rb', line 64 def null? true end |
#render ⇒ Object Also known as: to_s
56 57 58 |
# File 'lib/terminal_calendar/month/calendar_day.rb', line 56 def render ' ' end |