class MarkMapper::Plugins::Associations::Collection
Public Instance Methods
include?(*args)
click to toggle source
# File lib/mark_mapper/plugins/associations/collection.rb, line 17 def include?(*args) load_target target.include?(*args) end
reset()
click to toggle source
Calls superclass method
# File lib/mark_mapper/plugins/associations/collection.rb, line 22 def reset super target = [] end
to_ary()
click to toggle source
# File lib/mark_mapper/plugins/associations/collection.rb, line 6 def to_ary load_target if target.is_a?(Array) target.to_ary else Array(target) end end
Also aliased as: to_a