Method: Dis::Model::Data#==

Defined in:
lib/dis/model/data.rb

#==(other) ⇒ Object

Returns true if two Data objects represent the same data.



16
17
18
19
20
# File 'lib/dis/model/data.rb', line 16

def ==(other)
  # TODO: This can be made faster by
  # comparing hashes for stored objects.
  other.read == read
end