lib/yml_reader.rb in yml_reader-0.1 vs lib/yml_reader.rb in yml_reader-0.2
- old
+ new
@@ -21,9 +21,9 @@
#
# Loads the requested file. It will look for the file in the
# directory specified by a call to the yml_directory= method.
#
def load(filename)
- @yml = YAML.load_file "#{@yml_directory}/#{filename}"
+ @yml = YAML.load_file "#{yml_directory}/#{filename}"
end
end