lib/yamllog.rb in dev_tasks-1.0.12 vs lib/yamllog.rb in dev_tasks-1.0.13
- old
+ new
@@ -1,18 +1,18 @@
-require 'yaml'
-
-class YamlLog
- def initialize
- end
-
- def finalize
- name='DEV'
- ARGV.each do|a|
- name="#{name}.#{a}"
- end
- name="#{name}.yml"
- FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
- File.open("#{Environment.dev_root}/log/#{name}","w") do |f|
- f.write(DEV.to_yaml)
- end
- end
+require 'yaml'
+
+class YamlLog
+ def initialize
+ end
+
+ def finalize
+ name='DEV'
+ ARGV.each do|a|
+ name="#{name}.#{a}"
+ end
+ name="#{name}.yml"
+ FileUtils.mkdir("#{Environment.dev_root}/log") if !File.exists?("#{Environment.dev_root}/log")
+ File.open("#{Environment.dev_root}/log/#{name}","w") do |f|
+ f.write(DEV.to_yaml)
+ end
+ end
end
\ No newline at end of file