# File lib/mongoid/matchers/size.rb, line 16 def matches?(value) @attribute.size == value.values.first end