diff options
author | wycats <wycats@gmail.com> | 2010-06-07 23:32:20 -0400 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-07 23:32:20 -0400 |
commit | 8d576b51a12fdb19e3993f3678ec64b2ea60fada (patch) | |
tree | 0cb7195aa7b0610d6243a0d838fd67e03dfd6bfc | |
parent | b97a3f33a36f936531e608343797b99268f8bd92 (diff) | |
download | rails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.tar.gz rails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.tar.bz2 rails-8d576b51a12fdb19e3993f3678ec64b2ea60fada.zip |
Move the undef into the 1.9 only branch
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 4 |
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 =~ /!$/ |