Method: ArtifactTools::ConfigFile.from_file
- Defined in:
- lib/artifact_tools/config_file.rb
.from_file(file) ⇒ Object
Create ConfigFile from file in YAML format
31 32 33 34 |
# File 'lib/artifact_tools/config_file.rb', line 31 def self.from_file(file) ConfigFile.new(config: YAML.load_file(file)) # Leave error propagation as this is development tool end |