Class: OpenStruct

Inherits:
Object
  • Object
show all
Extended by:
FromHash
Defined in:
lib/llm/core_ext/ostruct.rb

Direct Known Subclasses

LLM::Model

Defined Under Namespace

Modules: FromHash

Instance Method Summary collapse

Methods included from FromHash

from_hash

Instance Method Details

#to_jsonObject



40
41
42
# File 'lib/llm/core_ext/ostruct.rb', line 40

def to_json(...)
  to_h.to_json(...)
end