Class: Yello::Checklist
Instance Attribute Summary collapse
-
#check_items ⇒ Object
(also: #items)
Returns the value of attribute check_items.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name, items) ⇒ Checklist
constructor
A new instance of Checklist.
Methods inherited from Base
Constructor Details
#initialize(name, items) ⇒ Checklist
Returns a new instance of Checklist.
9 10 11 12 |
# File 'lib/yello/checklist.rb', line 9 def initialize(name, items) super(name) @check_items = items end |
Instance Attribute Details
#check_items ⇒ Object Also known as: items
Returns the value of attribute check_items.
6 7 8 |
# File 'lib/yello/checklist.rb', line 6 def check_items @check_items end |