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
-
#abort ⇒ Object
Tyrant dbs do not support transactions.
-
#tranabort ⇒ Object
Tyrant dbs do not support transactions.
-
#tranbegin ⇒ Object
Tyrant dbs do not support transactions.
-
#trancommit ⇒ Object
Tyrant dbs do not support transactions.
-
#transaction ⇒ Object
Tyrant dbs do not support transactions.
Instance Method Details
#abort ⇒ Object
Tyrant dbs do not support transactions.
93 94 95 |
# File 'lib/rufus/tokyo/transactions.rb', line 93 def abort raise_transaction_nme('abort') end |
#tranabort ⇒ Object
Tyrant dbs do not support transactions.
111 112 113 |
# File 'lib/rufus/tokyo/transactions.rb', line 111 def tranabort raise_transaction_nme('tranabort') end |
#tranbegin ⇒ Object
Tyrant dbs do not support transactions.
99 100 101 |
# File 'lib/rufus/tokyo/transactions.rb', line 99 def tranbegin raise_transaction_nme('tranbegin') end |
#trancommit ⇒ Object
Tyrant dbs do not support transactions.
105 106 107 |
# File 'lib/rufus/tokyo/transactions.rb', line 105 def trancommit raise_transaction_nme('trancommit') end |
#transaction ⇒ Object
Tyrant dbs do not support transactions.
87 88 89 |
# File 'lib/rufus/tokyo/transactions.rb', line 87 def transaction raise_transaction_nme('transaction') end |