Sha256: e237101267a2a655ff22198ebc31ea72c66105d85d54e044cbf6d5c0d42f470c
Contents?: true
Size: 355 Bytes
Versions: 61
Compression:
Stored size: 355 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Plugins module Inspect module InstanceMethods def inspect attributes_as_nice_string = key_names.collect do |name| "#{name}: #{self[name].inspect}" end.join(", ") "#<#{self.class} #{attributes_as_nice_string}>" end end end end end
Version data entries
61 entries across 61 versions & 8 rubygems