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)


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

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

Instance Attribute Details

#levelInteger?

Returns the value of attribute level.

Returns:

  • (Integer, nil)


341
342
343
# File 'sig/types.rbs', line 341

def level
  @level
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


342
343
344
# File 'sig/types.rbs', line 342

def text
  @text
end