Ruby 1.9.2: StringIO no longer has #path

This commit is contained in:
Jeremy Kemper
2009-11-13 13:02:29 -08:00
parent 2841a14f4b
commit 3f54f3100b

View File

@@ -489,7 +489,7 @@ EOM
def self.extended(object)
object.class_eval do
attr_accessor :original_path, :content_type
alias_method :local_path, :path
alias_method :local_path, :path if method_defined?(:path)
end
end