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)


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

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

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


1037
1038
1039
# File 'sig/types.rbs', line 1037

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1038
1039
1040
# File 'sig/types.rbs', line 1038

def text
  @text
end