summaryrefslogtreecommitdiffhomepage
path: root/lib/Justicar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Justicar.rb')
-rw-r--r--lib/Justicar.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Justicar.rb b/lib/Justicar.rb
index e57845e..5abf901 100644
--- a/lib/Justicar.rb
+++ b/lib/Justicar.rb
@@ -54,10 +54,8 @@ class Justicar
FileUtils.mkdir target_dir
end
hash.each do |key, val|
- puts "key: #{key}, val: #{val}"
if val.is_a? String
file_name, type, _rb = key.to_s.split('.')
- puts "filename: #{file_name}, type: #{type}"
File.open("#{target_dir}/#{file_name}.#{type}", "w") do |file|
file.write(val)
end
@@ -68,7 +66,6 @@ class Justicar
self.build("#{target_dir}/#{key}", hash)
end
end
- puts File.expand_path(File.dirname(__FILE__))
end
def output