Sha256: 014569d6c672297d0c3ded34aa06049c086a31db097048fbec03e58211c29f07
Contents?: true
Size: 232 Bytes
Versions: 43
Compression:
Stored size: 232 Bytes
Contents
module PassiveRecord module PrettyPrinting def inspect pretty_vars = to_h.map do |k,v| "#{k.to_s.gsub(/^\@/,'')}: #{v.inspect}" end.join(', ') "#{self.class.name} (#{pretty_vars})" end end end
Version data entries
43 entries across 43 versions & 1 rubygems