vendor/bundle/ruby/2.1.0/gems/rails_autolink-1.1.6/test/test_rails_autolink.rb
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
# Temporarily replaces KCODE for the block
Temporarily replaces KCODE for the block
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
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
Temporarily replaces KCODE for the block
Temporarily replaces KCODE for the block
kcode