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)


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

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

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


967
968
969
# File 'sig/types.rbs', line 967

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


968
969
970
# File 'sig/types.rbs', line 968

def text
  @text
end