Method: CBin::Trans::Helper#load_trans_map
- Defined in:
- lib/cocoapods-lhj-bin/helpers/trans_helper.rb
permalink #load_trans_map ⇒ Object
[View source]
14 15 16 17 18 19 |
# File 'lib/cocoapods-lhj-bin/helpers/trans_helper.rb', line 14 def load_trans_map require 'yaml' down_load_yaml unless File.exist?(yaml_file) contents = YAML.safe_load(File.open(yaml_file)) contents.to_hash end |