Class: Wireless::Fetcher
- Inherits:
-
Object
- Object
- Wireless::Fetcher
- Includes:
- Fetch
- Defined in:
- lib/wireless/fetcher.rb
Overview
The object passed to the factory (‘on`) or singleton (`once`) block: a cut-down version of Wireless::Registry which only provides read access (via #fetch or its #[] alias) to the underlying dependency store
Instance Method Summary collapse
-
#initialize(registry:, seen:) ⇒ Fetcher
constructor
A new instance of Fetcher.
Methods included from Fetch
Constructor Details
#initialize(registry:, seen:) ⇒ Fetcher
Returns a new instance of Fetcher.
10 11 12 13 |
# File 'lib/wireless/fetcher.rb', line 10 def initialize(registry:, seen:) @registry = registry @seen = seen end |