Class: Yello::Checklist

Inherits:
Base
  • Object
show all
Defined in:
lib/yello/checklist.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#attributes

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_itemsObject 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