Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 9 lines (7 sloc) 0.167 kb
5ca86ac @lest deprecate String#encoding_aware? and remove its usage
lest authored
1 require 'active_support/deprecation'
2
80b6067 @wycats Revert "Moved encoding work in progress to a feature branch."
wycats authored
3 class String
7ab4775 @josevalim Initial pass at removing dead 1.8.x code from Active Support.
josevalim authored
4 def encoding_aware?
b955939 @gazay Make caller attribute in deprecation methods optional
gazay authored
5 ActiveSupport::Deprecation.warn 'String#encoding_aware? is deprecated'
7ab4775 @josevalim Initial pass at removing dead 1.8.x code from Active Support.
josevalim authored
6 true
80b6067 @wycats Revert "Moved encoding work in progress to a feature branch."
wycats authored
7 end
5ca86ac @lest deprecate String#encoding_aware? and remove its usage
lest authored
8 end
Something went wrong with that request. Please try again.