Class: RspecNestedTransactions::FiberAwareGroup

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/rspec_nested_transactions.rb

Instance Method Summary collapse

Instance Method Details

#classObject



18
19
20
# File 'lib/rspec_nested_transactions.rb', line 18

def class
  __getobj__.class
end

#run_examplesObject



10
11
12
# File 'lib/rspec_nested_transactions.rb', line 10

def run_examples
  Fiber.yield
end

#to_procObject



14
15
16
# File 'lib/rspec_nested_transactions.rb', line 14

def to_proc
  proc { run_examples }
end