Method: Elastictastic::Properties#inspect

Defined in:
lib/elastictastic/properties.rb

#inspectObject



155
156
157
158
159
160
161
162
163
# File 'lib/elastictastic/properties.rb', line 155

def inspect
  inspected = "#<#{self.class.name}"
  if attributes.any?
    inspected << ' ' << attributes.each_pair.map do |attr, value|
      "#{attr}: #{value.inspect}"
    end.join(', ')
  end
  inspected << '>'
end