Class: ActiveRecord::ConnectionAdapters::NullDBAdapter::Checkpoint

Inherits:
Statement
  • Object
show all
Defined in:
lib/active_record/connection_adapters/nulldb_adapter/checkpoint.rb

Instance Attribute Summary

Attributes inherited from Statement

#content, #entry_point

Instance Method Summary collapse

Constructor Details

#initializeCheckpoint

Returns a new instance of Checkpoint.



4
5
6
# File 'lib/active_record/connection_adapters/nulldb_adapter/checkpoint.rb', line 4

def initialize
  super(:checkpoint, "")
end

Instance Method Details

#==(other) ⇒ Object



8
9
10
# File 'lib/active_record/connection_adapters/nulldb_adapter/checkpoint.rb', line 8

def ==(other)
  self.class == other.class
end