Class: LL::Checklist

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChecklist

Returns a new instance of Checklist.



5
6
7
# File 'lib/ll/checklist.rb', line 5

def initialize
  @name = "Prototypical"
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/ll/checklist.rb', line 3

def name
  @name
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/ll/checklist.rb', line 9

def to_s
  "Checklist: #{self.name}"
end