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 ⇒ String?
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.
397 |
# File 'sig/types.rbs', line 397
def initialize: (name: String, ?description: String, ?parameters: String, ?strict: bool) -> void
|
Instance Attribute Details
#description ⇒ String? (readonly)
Returns the value of attribute description.
393 394 395 |
# File 'sig/types.rbs', line 393 def description @description end |
#name ⇒ String (readonly)
Returns the value of attribute name.
392 393 394 |
# File 'sig/types.rbs', line 392 def name @name end |
#parameters ⇒ String? (readonly)
Returns the value of attribute parameters.
394 395 396 |
# File 'sig/types.rbs', line 394 def parameters @parameters end |
#strict ⇒ Boolean? (readonly)
Returns the value of attribute strict.
395 396 397 |
# File 'sig/types.rbs', line 395 def strict @strict end |