Class: Alchemist::ConversionTable
- Inherits:
-
Object
- Object
- Alchemist::ConversionTable
- Defined in:
- lib/alchemist/conversion_table.rb
Instance Method Summary collapse
Instance Method Details
#load_all(yaml_file) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/alchemist/conversion_table.rb', line 6 def load_all(yaml_file) begin YAML.load_file(yaml_file).merge(proc_based) rescue Psych::SyntaxError, Errno::ENOENT nil end end |