Sha256: 110d383e46f62cbb52075ec751dfa4218d3d4e6f9c0e3587f2d2d40f3c78b7f0
Contents?: true
Size: 372 Bytes
Versions: 40
Compression:
Stored size: 372 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Plugins module Associations class Collection < Proxy def to_ary load_target if target.is_a?(Array) target.to_ary else Array(target) end end def reset super target = [] end end end end end
Version data entries
40 entries across 40 versions & 5 rubygems