Sha256: 3c469aac24b6a823f6f84a9753da096bb15be3ea793ab3ba6e99d1bfd0e85d09
Contents?: true
Size: 647 Bytes
Versions: 34
Compression:
Stored size: 647 Bytes
Contents
module PowerStencil module Plugins module Config private def load_plugin_specific_config yaml_file = plugin_config_specific_file if File.exists? yaml_file and File.file? yaml_file and File.readable? yaml_file logger.info "Found plugin specific configĀ in plugin '#{self.name}'. Attempting to load..." project.add_plugin_config self capabilities[:config] = true end rescue => e logger.debug PowerStencil::Error.report_error(e) logger.error "Could not load yaml file '#{yaml_file}' because '#{e.message}'" raise e end end end end
Version data entries
34 entries across 34 versions & 1 rubygems