move require 'resource' to download_strategy.rb

where it is actually needed
This commit is contained in:
Roland Walker
2014-12-26 09:07:41 -05:00
parent 611e09c061
commit a5f3f34e65
2 changed files with 2 additions and 1 deletions
@@ -1,3 +1,5 @@
require 'resource'
class AbstractDownloadStrategy
attr_reader :name, :resource
@@ -1,5 +1,4 @@
require 'pathname'
require 'resource'
class Pathname
# I don't trust the children.length == 0 check particularly, not to mention