Class: Crawlberg::HeadingInfo

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHeadingInfo

Returns a new instance of HeadingInfo.

Parameters:

  • level: (Integer)
  • text: (String)


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

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

Instance Attribute Details

#levelInteger?

Returns the value of attribute level.

Returns:

  • (Integer, nil)


332
333
334
# File 'sig/types.rbs', line 332

def level
  @level
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


333
334
335
# File 'sig/types.rbs', line 333

def text
  @text
end