class MessageDriver::Client::ContextWrapper
@private
Attributes
ctx[R]
transaction_depth[R]
Public Class Methods
new(ctx)
click to toggle source
# File lib/message_driver/client.rb, line 220 def initialize(ctx) @ctx = ctx @transaction_depth = 0 end
Public Instance Methods
decrement_transaction_depth()
click to toggle source
# File lib/message_driver/client.rb, line 229 def decrement_transaction_depth @transaction_depth -= 1 end
increment_transaction_depth()
click to toggle source
# File lib/message_driver/client.rb, line 225 def increment_transaction_depth @transaction_depth += 1 end