Class: Ligarb::Chapter::Heading

Inherits:
Struct
  • Object
show all
Defined in:
lib/ligarb/chapter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#display_textObject

Returns the value of attribute display_text

Returns:

  • (Object)

    the current value of display_text



13
14
15
# File 'lib/ligarb/chapter.rb', line 13

def display_text
  @display_text
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



13
14
15
# File 'lib/ligarb/chapter.rb', line 13

def id
  @id
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



13
14
15
# File 'lib/ligarb/chapter.rb', line 13

def level
  @level
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



13
14
15
# File 'lib/ligarb/chapter.rb', line 13

def text
  @text
end