Method: Pod::YAMLHelper.load_file
- Defined in:
- lib/cocoapods-core/yaml_helper.rb
.load_file(file_path) ⇒ Hash, Array
Loads a YAML file and leans on the #load_string imp to do error detection
74 75 76 |
# File 'lib/cocoapods-core/yaml_helper.rb', line 74 def load_file(file_path) load_string(File.read(file_path), file_path) end |