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


303
304
305
# File 'lib/resumetools/resume/resume.rb', line 303

def initialize(props={})
  @text = props[:text] || ""
end

Instance Attribute Details

#textObject

The item text


300
301
302
# File 'lib/resumetools/resume/resume.rb', line 300

def text
  @text
end