Class: Downloader::Mirror

Inherits:
Object show all
Defined in:
lib/more/facets/downloader.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, region = nil) ⇒ Mirror

Returns a new instance of Mirror.



49
50
51
52
53
# File 'lib/more/facets/downloader.rb', line 49

def initialize( url, region=nil )
  @url = url
  @region = region
  @interface = nil
end

Instance Attribute Details

#regionObject

Returns the value of attribute region.



54
55
56
# File 'lib/more/facets/downloader.rb', line 54

def region
  @region
end

#urlObject

Returns the value of attribute url.



54
55
56
# File 'lib/more/facets/downloader.rb', line 54

def url
  @url
end