Class: ResumeTools::Item

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#textObject

The item text



297
298
299
# File 'lib/resumetools/resume/resume.rb', line 297

def text
  @text
end