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.



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

def initialize; end

Instance Method Details

#add_record(record, _ = true) ⇒ Object



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

def add_record(record, _ = true); end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?; true; end

#joinable?Boolean

Returns:

  • (Boolean)


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

def joinable?; false; end

#open?Boolean

Returns:

  • (Boolean)


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

def open?; false; end

#stateObject



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

def state; end