module Datamappify::Entity::Inspectable::ClassMethods

Public Instance Methods

inspect() click to toggle source
# File lib/datamappify/entity/inspectable.rb, line 17
def inspect
  inspectable = self.attribute_set.map do |attribute|
    "#{attribute.name}: #{attribute.class.primitive}"
  end.join(", ")

  "#<#{name} #{inspectable}>"
end