Class: CFManifests::Loader
- Inherits:
-
Object
- Object
- CFManifests::Loader
- Includes:
- Builder, Normalizer, Resolver
- Defined in:
- lib/manifests-cf-plugin/loader.rb
Constant Summary
Constants included from Normalizer
Instance Method Summary collapse
-
#initialize(file, resolver) ⇒ Loader
constructor
A new instance of Loader.
- #manifest ⇒ Object
Methods included from Resolver
Methods included from Normalizer
Methods included from Builder
Constructor Details
#initialize(file, resolver) ⇒ Loader
Returns a new instance of Loader.
11 12 13 14 |
# File 'lib/manifests-cf-plugin/loader.rb', line 11 def initialize(file, resolver) @file = file @resolver = resolver end |
Instance Method Details
#manifest ⇒ Object
16 17 18 19 20 |
# File 'lib/manifests-cf-plugin/loader.rb', line 16 def manifest info = build(@file) normalize! info resolve info, @resolver end |