lib/ig_markets/model.rb
# Returns a human-readable string containing this model's type and all its current attribute values.
#
# @return [String]
Returns a human-readable string containing this model's type and all its current attribute values.
Returns a human - readable string containing this model ' s type and all its current attribute values .
def inspect
      formatted_attributes = self.class.defined_attribute_names.map do |attribute|
        "#{attribute}: #{inspect_value send(attribute)}"
      end
      "#<#{self.class.name} #{formatted_attributes.join ', '}>"
    end
def inspect formatted_attributes = self . class . defined_attribute_names . map do | attribute | "#{attribute}: #{inspect_value send(attribute)}" end "#<#{self.class.name} #{formatted_attributes.join ', '}>" end
Returns a human-readable string containing this model's type and all its current attribute values.
Returns a human - readable string containing this model ' s type and all its current attribute values .
None
String