Method: Datamappify::Entity::Inspectable#inspect

Defined in:
lib/datamappify/entity/inspectable.rb

#inspectObject



8
9
10
11
12
13
14
# File 'lib/datamappify/entity/inspectable.rb', line 8

def inspect
  inspectable = self.attributes.map do |name, value|
    "#{name}: #{value.inspect}"
  end.join(", ")

  "#<#{self.class} #{inspectable}>"
end