Class: Gem::SpecFetcher
- Inherits:
-
Object
- Object
- Gem::SpecFetcher
- Defined in:
- lib/gauntlet.rb
Overview
Extensions and Overrides
Instance Attribute Summary collapse
-
#fetcher ⇒ Object
writeonly
Sets the attribute fetcher.
Instance Method Summary collapse
-
#initialize(fetcher = Gem::RemoteFetcher.fetcher) ⇒ SpecFetcher
constructor
A new instance of SpecFetcher.
- #old_initialize ⇒ Object
Constructor Details
#initialize(fetcher = Gem::RemoteFetcher.fetcher) ⇒ SpecFetcher
Returns a new instance of SpecFetcher.
301 302 303 304 305 |
# File 'lib/gauntlet.rb', line 301 def initialize fetcher = Gem::RemoteFetcher.fetcher old_initialize self.fetcher = fetcher end |
Instance Attribute Details
#fetcher=(value) ⇒ Object (writeonly)
Sets the attribute fetcher
297 298 299 |
# File 'lib/gauntlet.rb', line 297 def fetcher=(value) @fetcher = value end |
Instance Method Details
#old_initialize ⇒ Object
299 |
# File 'lib/gauntlet.rb', line 299 alias :old_initialize :initialize |