Class: TreeSitterLanguagePack::DocSection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocSection

Returns a new instance of DocSection.

Parameters:

  • kind: (String)
  • name: (String)
  • description: (String)


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

def initialize: (?kind: String, ?name: String, ?description: String) -> void

Instance Attribute Details

#descriptionString?

Returns the value of attribute description.

Returns:

  • (String, nil)


107
108
109
# File 'sig/types.rbs', line 107

def description
  @description
end

#kindString?

Returns the value of attribute kind.

Returns:

  • (String, nil)


105
106
107
# File 'sig/types.rbs', line 105

def kind
  @kind
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


106
107
108
# File 'sig/types.rbs', line 106

def name
  @name
end