lib/rubycritic/report_generators/view_helpers.rb in rubycritic-0.0.10 vs lib/rubycritic/report_generators/view_helpers.rb in rubycritic-0.0.11
- old
+ new
@@ -16,9 +16,13 @@
def smell_location_path(location)
pathname = location.pathname
File.join(root_directory, "#{pathname.sub_ext('.html')}#L#{location.line}")
end
+ def overview_path
+ File.join(root_directory, "overview.html")
+ end
+
def code_index_path
File.join(root_directory, "code_index.html")
end
def smells_index_path