# File lib/stringex/unidecoder.rb, line 46 46: def localize_from(hash_or_path_to_file) 47: hash = if hash_or_path_to_file.is_a?(Hash) 48: hash_or_path_to_file 49: else 50: YAML.load_file(hash_or_path_to_file) 51: end 52: verify_local_codepoints hash 53: end