Sha256: 3afff0652e9771b7370c7fedf4886d1716ba6596a87a21addc9100ddb6f29f87

Contents?: true

Size: 205 Bytes

Versions: 89

Compression:

Stored size: 205 Bytes

Contents

module TestingSandbox
  # Temporarily replaces KCODE for the block
  def with_kcode(kcode)
    old_kcode, $KCODE = $KCODE, kcode
    begin
      yield
    ensure
      $KCODE = old_kcode
    end
  end
end

Version data entries

89 entries across 89 versions & 6 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/actionpack/test/testing_sandbox.rb
actionpack-1.13.0 test/testing_sandbox.rb
actionpack-1.13.6 test/testing_sandbox.rb
actionpack-1.13.2 test/testing_sandbox.rb
actionpack-1.13.1 test/testing_sandbox.rb
actionpack-1.13.5 test/testing_sandbox.rb
actionpack-1.13.3 test/testing_sandbox.rb
actionpack-1.13.4 test/testing_sandbox.rb
actionpack-2.0.2 test/testing_sandbox.rb
actionpack-2.0.1 test/testing_sandbox.rb
actionpack-2.0.0 test/testing_sandbox.rb
backlog-0.0.0 vendor/rails/actionpack/test/testing_sandbox.rb
backlog-0.0.1 vendor/rails/actionpack/test/testing_sandbox.rb