Class: ActiveRecord::ConnectionAdapters::NullTransaction

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/connection_adapters/abstract/transaction.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeNullTransaction

Returns a new instance of NullTransaction.



35
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 35

def initialize; end

Instance Method Details

#add_record(record) ⇒ Object



40
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 40

def add_record(record); end

#closed?Boolean

Returns:

  • (Boolean)


37
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 37

def closed?; true; end

#joinable?Boolean

Returns:

  • (Boolean)


39
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 39

def joinable?; false; end

#open?Boolean

Returns:

  • (Boolean)


38
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 38

def open?; false; end

#stateObject



36
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 36

def state; end