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)


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

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

Instance Attribute Details

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


83
84
85
# File 'sig/types.rbs', line 83

def description
  @description
end

#kindString (readonly)

Returns the value of attribute kind.

Returns:

  • (String)


81
82
83
# File 'sig/types.rbs', line 81

def kind
  @kind
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


82
83
84
# File 'sig/types.rbs', line 82

def name
  @name
end