Class: TaskList::Item
- Inherits:
-
Struct
- Object
- Struct
- TaskList::Item
- Defined in:
- lib/task_list.rb
Constant Summary collapse
- Complete =
see TaskList::Filter
/\[[xX]\]/.freeze
Instance Attribute Summary collapse
-
#checkbox_text ⇒ Object
Returns the value of attribute checkbox_text.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#complete? ⇒ Boolean
Public: Check if a task list is complete.
Instance Attribute Details
#checkbox_text ⇒ Object
Returns the value of attribute checkbox_text
26 27 28 |
# File 'lib/task_list.rb', line 26 def checkbox_text @checkbox_text end |
#source ⇒ Object
Returns the value of attribute source
26 27 28 |
# File 'lib/task_list.rb', line 26 def source @source end |