Class: LiterLlm::FunctionDefinition
- Inherits:
-
Object
- Object
- LiterLlm::FunctionDefinition
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#parameters ⇒ json_value
readonly
Returns the value of attribute parameters.
-
#strict ⇒ Boolean
readonly
Returns the value of attribute strict.
Instance Method Summary collapse
-
#initialize ⇒ FunctionDefinition
constructor
A new instance of FunctionDefinition.
Constructor Details
#initialize ⇒ FunctionDefinition
Returns a new instance of FunctionDefinition.
98 |
# File 'sig/types.rbs', line 98
def initialize: (name: String, ?description: String, ?parameters: json_value, ?strict: bool) -> void
|
Instance Attribute Details
#description ⇒ String (readonly)
Returns the value of attribute description.
94 95 96 |
# File 'sig/types.rbs', line 94 def description @description end |
#name ⇒ String (readonly)
Returns the value of attribute name.
93 94 95 |
# File 'sig/types.rbs', line 93 def name @name end |
#parameters ⇒ json_value (readonly)
Returns the value of attribute parameters.
95 96 97 |
# File 'sig/types.rbs', line 95 def parameters @parameters end |
#strict ⇒ Boolean (readonly)
Returns the value of attribute strict.
96 97 98 |
# File 'sig/types.rbs', line 96 def strict @strict end |