Class: Xberg::HeadingLevel

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHeadingLevel

Returns a new instance of HeadingLevel.

Parameters:

  • level: (Integer)
  • text: (String)


981
# File 'sig/types.rbs', line 981

def initialize: (level: Integer, text: String) -> void

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


978
979
980
# File 'sig/types.rbs', line 978

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


979
980
981
# File 'sig/types.rbs', line 979

def text
  @text
end