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



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

def display_text
  @display_text
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



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

def id
  @id
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



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

def level
  @level
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end