Sha256: cf2acc6335bcf250b950dceee852260af524e6f3561767ef5a02584d1ad03922
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
require 'uri' module FeCoreExt::CoreExt end module FeCoreExt::CoreExt::URI def download(file) File.open(file, 'wb') {|f| f.write(open(self).read)} end end module FeCoreExt::CoreExt::URIClassMethods end class URI extend FeCoreExt::CoreExt::URIClassMethods include FeCoreExt::CoreExt::URI end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fe_core_ext-0.1.49 | lib/fe_core_ext/core_ext/uri.rb |