lib/arli/lock/formats/yaml.rb in arli-0.8.3 vs lib/arli/lock/formats/yaml.rb in arli-0.9.0
- old
+ new
@@ -2,12 +2,14 @@
require 'yaml'
module Arli
module Lock
module Formats
class Yaml < Json
+ extension :yml
+
def footer
"# vi:syntax=yaml\n" +
- YAML.dump(hash)
+ YAML.dump(unique_libraries)
end
end
end
end
end