inspect (DataMapper::Resource)

    # File lib/dm-core/resource.rb, line 469
        def inspect
          # TODO: display relationship values
          attrs = properties.map do |property|
            value = if new? || property.loaded?(self)
              property.get!(self).inspect
            else
              '<not loaded>'
            end

            "#{property.instance_variable_name}=#{value}"
          end

          "#<#{model.name} #{attrs.join(' ')}>"
        end