mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Move the undef into the 1.9 only branch
This commit is contained in:
@@ -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 =~ /!$/
|
||||
|
||||
Reference in New Issue
Block a user