Class: Dynamoid::Associations::HasMany

Inherits:
Object
  • Object
show all
Includes:
Association
Defined in:
lib/dynamoid/associations/has_many.rb

Instance Attribute Summary

Attributes included from Association

#name, #options, #source

Instance Method Summary collapse

Methods included from Association

#<<, #create, #delete, #empty?, #include?, #initialize, #setter, #size

Instance Method Details

#==(other) ⇒ Object



9
10
11
# File 'lib/dynamoid/associations/has_many.rb', line 9

def ==(other)
  records == Array(other)
end