Sha256: 54d48d7e5c6c9be31dcb85c5ca3af78dcfd73c8eecbc3573b23cda07aeb06657

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

module WebConsole
  class ReraisedScenario
    def call
      reraise_an_error
    rescue => exc
      exc
    end

    private

    def raise_an_error_in_eval
      method_that_raises
    rescue => exc
      raise exc
    end

    def method_that_raises
      raise
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
web-console-2.1.3 test/support/scenarios/reraised_scenario.rb
web-console-2.1.2 test/support/scenarios/reraised_scenario.rb
web-console-2.1.1 test/support/scenarios/reraised_scenario.rb
web-console-2.1.0 test/support/scenarios/reraised_scenario.rb