lib/rshade/formatter/trace/html.rb in rshade-0.2.1 vs lib/rshade/formatter/trace/html.rb in rshade-0.2.2
- old
+ new
@@ -22,14 +22,14 @@
content = erb_template.result_with_hash({ json: data.to_json })
write_to_file(content)
end
def write_to_file(data)
- ::File.write(::File.join(RShade::Config.store_dir, FILE_NAME), data)
+ ::File.write(::File.join(RShade::Utils.store_dir, FILE_NAME), data)
end
def template
- @template ||= ::File.read(::File.join(::RShade::Config.root_dir, TEMPLATE))
+ @template ||= ::File.read(::File.join(::RShade::Utils.root_dir, TEMPLATE))
end
end
end
end
end