Class: LiterLlm::UserMessage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUserMessage

Returns a new instance of UserMessage.

Parameters:



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

def initialize: (?content: UserContent, ?name: String) -> void

Instance Attribute Details

#contentUserContent?

Returns the value of attribute content.

Returns:



20
21
22
# File 'sig/types.rbs', line 20

def content
  @content
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


21
22
23
# File 'sig/types.rbs', line 21

def name
  @name
end