aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-06-07 23:32:20 -0400
committerwycats <wycats@gmail.com>2010-06-07 23:32:20 -0400
commit8d576b51a12fdb19e3993f3678ec64b2ea60fada (patch)
tree0cb7195aa7b0610d6243a0d838fd67e03dfd6bfc /activesupport/lib/active_support/multibyte
parentb97a3f33a36f936531e608343797b99268f8bd92 (diff)
downloadrails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.tar.gz
rails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.tar.bz2
rails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.zip
Move the undef into the 1.9 only branch
Diffstat (limited to 'activesupport/lib/active_support/multibyte')
-rw-r--r--activesupport/lib/active_support/multibyte/chars.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb
index d085280fe7..1eb6e8748b 100644
--- a/activesupport/lib/active_support/multibyte/chars.rb
+++ b/activesupport/lib/active_support/multibyte/chars.rb
@@ -45,14 +45,14 @@ module ActiveSupport #:nodoc:
@wrapped_string = string
@wrapped_string.force_encoding(Encoding::UTF_8) unless @wrapped_string.frozen?
end
+
+ undef <=>
else
def initialize(string) #:nodoc:
@wrapped_string = string
end
end
- undef <=>
-
# Forward all undefined methods to the wrapped string.
def method_missing(method, *args, &block)
if method.to_s =~ /!$/