Sha256: f985134819b0f5dad95eef20ae23404bfb0d91403c588d8836a760b763aebc15

Contents?: true

Size: 315 Bytes

Versions: 13

Compression:

Stored size: 315 Bytes

Contents

module Rspec
  module Core
    class AroundProxy
      def initialize(example_group_instance, &example_block)
        @example_group_instance, @example_block = example_group_instance, example_block
      end

      def run
        @example_group_instance.instance_eval(&@example_block)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.8 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.7 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.6 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.5 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.4 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.3 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.2 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.beta.1 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.a10 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.a9 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.a8 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.a7 lib/rspec/core/around_proxy.rb
rspec-core-2.0.0.a6 lib/rspec/core/around_proxy.rb