Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (11 sloc) 167 Bytes
class String
if defined?(Encoding) && "".respond_to?(:encode)
def encoding_aware?
true
end
else
def encoding_aware?
false
end
end
end
Jump to Line
Something went wrong with that request. Please try again.