Class: ResumeTools::Item
- Inherits:
-
Object
- Object
- ResumeTools::Item
- Defined in:
- lib/resumetools/resume/resume.rb
Overview
Item
Represents an item in a period or section. Items are usually bulleted items that are listed in order
Instance Attribute Summary collapse
-
#text ⇒ Object
The item text.
Instance Method Summary collapse
-
#initialize(props = {}) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(props = {}) ⇒ Item
Returns a new instance of Item.
300 301 302 |
# File 'lib/resumetools/resume/resume.rb', line 300 def initialize(props={}) @text = props[:text] || "" end |
Instance Attribute Details
#text ⇒ Object
The item text
297 298 299 |
# File 'lib/resumetools/resume/resume.rb', line 297 def text @text end |