Module: Rufus::Tokyo::NoTransactions

Included in:
Edo::NetTyrant, Edo::NetTyrantTable, Tyrant, TyrantTable
Defined in:
lib/rufus/tokyo/transactions.rb

Overview

When included will make sure calls on transaction methods do throw NoMethodError.

Instance Method Summary collapse

Instance Method Details

#abortObject

Tyrant dbs do not support transactions.



93
94
95
# File 'lib/rufus/tokyo/transactions.rb', line 93

def abort
  raise_transaction_nme('abort')
end

#tranabortObject

Tyrant dbs do not support transactions.



111
112
113
# File 'lib/rufus/tokyo/transactions.rb', line 111

def tranabort
  raise_transaction_nme('tranabort')
end

#tranbeginObject

Tyrant dbs do not support transactions.



99
100
101
# File 'lib/rufus/tokyo/transactions.rb', line 99

def tranbegin
  raise_transaction_nme('tranbegin')
end

#trancommitObject

Tyrant dbs do not support transactions.



105
106
107
# File 'lib/rufus/tokyo/transactions.rb', line 105

def trancommit
  raise_transaction_nme('trancommit')
end

#transactionObject

Tyrant dbs do not support transactions.



87
88
89
# File 'lib/rufus/tokyo/transactions.rb', line 87

def transaction
  raise_transaction_nme('transaction')
end