Method: OpenAI::Internal::Type::BaseModel#inspect

Defined in:
lib/openai/internal/type/base_model.rb

#inspectString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


518
519
520
521
# File 'lib/openai/internal/type/base_model.rb', line 518

def inspect
  converted = self.class.recursively_to_h(self, convert: true)
  "#<#{self.class}:0x#{object_id.to_s(16)} #{converted}>"
end