aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-05-16 13:52:51 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-05-16 13:55:29 -0700
commitade756fe42423033bae8e5aea8f58782f7a6c517 (patch)
tree5fecc7c19ef8b6984765928999d8ddbb99771afd /activesupport/lib/active_support/core_ext
parent821e15e5f2d9ef2aa43918a16cbd00f40c221e95 (diff)
downloadrails-ade756fe42423033bae8e5aea8f58782f7a6c517.tar.gz
rails-ade756fe42423033bae8e5aea8f58782f7a6c517.tar.bz2
rails-ade756fe42423033bae8e5aea8f58782f7a6c517.zip
Moved encoding work in progress to a feature branch.
This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c.
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/string/encoding.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/encoding.rb b/activesupport/lib/active_support/core_ext/string/encoding.rb
deleted file mode 100644
index d4781bfe0c..0000000000
--- a/activesupport/lib/active_support/core_ext/string/encoding.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class String
- if defined?(Encoding) && "".respond_to?(:encode)
- def encoding_aware?
- true
- end
- else
- def encoding_aware?
- false
- end
- end
-end \ No newline at end of file