class Rlocu2::Menu::SectionText

Attributes

text[RW]
type[RW]

Public Class Methods

new(section_text_hash) click to toggle source
# File lib/rlocu2/objects.rb, line 164
def initialize(section_text_hash)
  @type = section_text_hash['type']
  @text = section_text_hash['text']
end

Public Instance Methods

to_s() click to toggle source
# File lib/rlocu2/objects.rb, line 169
def to_s
  @text
end