Class: Onceler::AroundAll::FiberAwareGroup

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

Instance Method Summary collapse

Instance Method Details

#run_examplesObject



8
9
10
# File 'lib/onceler/around_all.rb', line 8

def run_examples
  Fiber.yield
end

#to_procObject



12
13
14
# File 'lib/onceler/around_all.rb', line 12

def to_proc
  proc { run_examples }
end