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)


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

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

Instance Attribute Details

#levelInteger (readonly)

Returns the value of attribute level.

Returns:

  • (Integer)


1006
1007
1008
# File 'sig/types.rbs', line 1006

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1007
1008
1009
# File 'sig/types.rbs', line 1007

def text
  @text
end