Class: RubyLLM::CodeMode::Mount

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/code_mode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#description ⇒ Object

Returns the value of attribute description

Returns:

  • (Object) —

    the current value of description



32
33
34
# File 'lib/ruby_llm/code_mode.rb', line 32

def description
  @description
end

#guest ⇒ Object

Returns the value of attribute guest

Returns:

  • (Object) —

    the current value of guest



32
33
34
# File 'lib/ruby_llm/code_mode.rb', line 32

def guest
  @guest
end

#host ⇒ Object

Returns the value of attribute host

Returns:

  • (Object) —

    the current value of host



32
33
34
# File 'lib/ruby_llm/code_mode.rb', line 32

def host
  @host
end

#mode ⇒ Object

Returns the value of attribute mode

Returns:

  • (Object) —

    the current value of mode



32
33
34
# File 'lib/ruby_llm/code_mode.rb', line 32

def mode
  @mode
end

Instance Method Details

#payload ⇒ Object



33
34
35
# File 'lib/ruby_llm/code_mode.rb', line 33

def payload
  { host: host, guest: guest, mode: mode }
end