lib/perennial/nash.rb in Sutto-perennial-0.2.4.1 vs lib/perennial/nash.rb in Sutto-perennial-0.2.4.5
- old
+ new
@@ -7,10 +7,10 @@
n = self.new
if File.file?(path) && File.readable?(path)
contents = YAML.load_file(path)
end
if contents.is_a?(Hash)
- contents.to_hash
+ contents.to_nash
else
new(:data => contents).normalized
end
end
\ No newline at end of file