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: (json_value)
  • strict: (Boolean)


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

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

Instance Attribute Details

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


94
95
96
# File 'sig/types.rbs', line 94

def description
  @description
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


93
94
95
# File 'sig/types.rbs', line 93

def name
  @name
end

#parametersjson_value (readonly)

Returns the value of attribute parameters.

Returns:

  • (json_value)


95
96
97
# File 'sig/types.rbs', line 95

def parameters
  @parameters
end

#strictBoolean (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean)


96
97
98
# File 'sig/types.rbs', line 96

def strict
  @strict
end