Method: Fauxsql::AttributeList#-

Defined in:
lib/fauxsql/attribute_list.rb

#-(others) ⇒ Object



37
38
39
40
41
# File 'lib/fauxsql/attribute_list.rb', line 37

def -(others)
  others = others.map{|other| Fauxsql.dereference_fauxsql_attribute(other).hash }
  reject!{|one| others.include?(one.hash) }
  self
end