Module: MasterView::MIO::MasterViewIOIdenticalMixin

Included in:
ActiveRecordMIO, FileMIO, StringMIO
Defined in:
lib/masterview/io.rb

Instance Method Summary collapse

Instance Method Details

#identical?(compare_content) ⇒ Boolean

Returns:

  • (Boolean)


222
223
224
# File 'lib/masterview/io.rb', line 222

def identical?(compare_content)
  self.exist? && compare_content == self.read(:disable_logging => true ) # eliminate the noise, simply checking if different
end