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)


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

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

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


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

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


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

def text
  @text
end