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)


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

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

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


1011
1012
1013
# File 'sig/types.rbs', line 1011

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1012
1013
1014
# File 'sig/types.rbs', line 1012

def text
  @text
end