Sha256: 1bb3966655734a2337cfd8965468b538357d5bc2ac705508b7a7453789ed4b7b
Contents?: true
Size: 504 Bytes
Versions: 6
Compression:
Stored size: 504 Bytes
Contents
# encoding: UTF-8 module MarkMapper 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 alias_method :to_a, :to_ary def include?(*args) load_target target.include?(*args) end def reset super target = [] end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems