Method: Pindo::CommonConfuseProj#external_sources

Defined in:
lib/pindo/module/build/commonconfuseproj.rb

#external_sources(yaml_file: nil) ⇒ Object



28
29
30
31
32
33
34
35
36
# File 'lib/pindo/module/build/commonconfuseproj.rb', line 28

def external_sources(yaml_file:nil)
    if @external_sources_hash.nil?
        if File.exist?(yaml_file)
            manifest_hash = YAML.load_file(yaml_file);
            external_sources_hash = manifest_hash["EXTERNAL SOURCES"]
        end
    end
    return @external_sources_hash;
end