Revision
3724
Author
lsansonetti@apple.com
Date
2010-03-09 17:54:46 -0800 (Tue, 09 Mar 2010)

Log Message

String.__new_bytestring__ -> String.new

Modified Paths

Diff

Modified: MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb (3723 => 3724)


--- MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb	2010-03-10 01:54:21 UTC (rev 3723)
+++ MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb	2010-03-10 01:54:46 UTC (rev 3724)
@@ -263,9 +263,7 @@
       if data.nil?
         raise Gem::RemoteFetcher::FetchError, "error when fetching data from #{uri}"
       end
-      string = String.__new_bytestring__(data)
-      #block.call(string) if block
-      return string
+      return String.new(data)
     end
     raise "block is dead" if block_given?