Class: LL::Checklist
- Inherits:
-
Object
- Object
- LL::Checklist
- Defined in:
- lib/ll/checklist.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Checklist
constructor
A new instance of Checklist.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Checklist
Returns a new instance of Checklist.
5 6 7 |
# File 'lib/ll/checklist.rb', line 5 def initialize @name = "Prototypical" end |
Instance Attribute Details
#name ⇒ Object (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_s ⇒ Object
9 10 11 |
# File 'lib/ll/checklist.rb', line 9 def to_s "Checklist: #{self.name}" end |