lib/data_paths/finders.rb in data_paths-0.3.0.rc1 vs lib/data_paths/finders.rb in data_paths-0.3.0.rc2
- old
+ new
@@ -142,10 +142,10 @@
# The loaded YAML files.
#
# @since 0.3.0
#
def load_yaml_files(path)
- each_data_file.map { |file| YAML.load_file(file) }
+ each_data_file(path).map { |file| YAML.load_file(file) }
end
#
#
# Finds all occurrences of a given file path, within all data