Method: Mongo::Grid::File#==
- Defined in:
- lib/mongo/grid/file.rb
#==(other) ⇒ true, false
Check equality of files.
52 53 54 55 |
# File 'lib/mongo/grid/file.rb', line 52 def ==(other) return false unless other.is_a?(File) chunks == other.chunks && info == other.info end |