Class: LiterLlm::FunctionDefinition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFunctionDefinition

Returns a new instance of FunctionDefinition.

Parameters:

  • name: (String)
  • description: (String)
  • parameters: (String)
  • strict: (Boolean)


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

def initialize: (name: String, ?description: String, ?parameters: String, ?strict: bool) -> void

Instance Attribute Details

#descriptionString? (readonly)

Returns the value of attribute description.

Returns:

  • (String, nil)


393
394
395
# File 'sig/types.rbs', line 393

def description
  @description
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


392
393
394
# File 'sig/types.rbs', line 392

def name
  @name
end

#parametersString? (readonly)

Returns the value of attribute parameters.

Returns:

  • (String, nil)


394
395
396
# File 'sig/types.rbs', line 394

def parameters
  @parameters
end

#strictBoolean? (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean, nil)


395
396
397
# File 'sig/types.rbs', line 395

def strict
  @strict
end