module RSpecStepwise::StepExample

Public Instance Methods

run_after_each() click to toggle source
# File lib/two-step/stepwise.rb, line 52
def run_after_each
  @example_group_class.run_after_step(self)
end
run_before_each() click to toggle source
# File lib/two-step/stepwise.rb, line 46
def run_before_each
  @example_group_class.run_before_step(self)
rescue Object => ex
  puts "\n#{__FILE__}:#{__LINE__} => #{[ex, ex.backtrace].pretty_inspect}"
end
with_around_hooks() { || ... } click to toggle source
# File lib/two-step/stepwise.rb, line 56
def with_around_hooks
  yield
end