diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 15:39:50 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 15:39:50 +0530 |
commit | 7276fc63be79a5769acb28b54d248c87591c1825 (patch) | |
tree | 06bf4f972cc4148ce33164f4a27cc3203bb52052 /actionpack/test/lib | |
parent | de78c7e8e4a28425f2047eb8c708f396819d6ff0 (diff) | |
download | rails-7276fc63be79a5769acb28b54d248c87591c1825.tar.gz rails-7276fc63be79a5769acb28b54d248c87591c1825.tar.bz2 rails-7276fc63be79a5769acb28b54d248c87591c1825.zip |
'with_kcode' removed.
Testing Sandbox removed.
Diffstat (limited to 'actionpack/test/lib')
-rw-r--r-- | actionpack/test/lib/testing_sandbox.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/actionpack/test/lib/testing_sandbox.rb b/actionpack/test/lib/testing_sandbox.rb deleted file mode 100644 index c36585104f..0000000000 --- a/actionpack/test/lib/testing_sandbox.rb +++ /dev/null @@ -1,15 +0,0 @@ -module TestingSandbox - # Temporarily replaces KCODE for the block - def with_kcode(kcode) - if RUBY_VERSION < '1.9' - old_kcode, $KCODE = $KCODE, kcode - begin - yield - ensure - $KCODE = old_kcode - end - else - yield - end - end -end |