lib/code_web/html_report.rb
# create a link to a method
# add a class if the method is in a particular file
create a link to a method
add a class if the method is in a particular file
create a link to a method add a class if the method is in a particular file
def method_link(m, count, force_filename = false)
      name = count ? "[#{count}]" : m.short_filename
      class_name = class_for_filename(m.filename)
      url = url_for_filename(m.filename, m.line, force_filename)
      %{<a href="#{url}" title="#{html_safe(m.signature)}"#{" class=\"#{class_name}\"" if class_name}>#{name}</a>}
    end
def method_link ( m , count , force_filename = false ) name = count ? "[#{count}]" : m . short_filename class_name = class_for_filename ( m . filename ) url = url_for_filename ( m . filename , m . line , force_filename ) %{<a href="#{url}" title="#{html_safe(m.signature)}"#{" class=\"#{class_name}\"" if class_name}>#{name}</a>} end
create a link to a method
add a class if the method is in a particular file
create a link to a method add a class if the method is in a particular file
m
<not_specific>
count
<not_specific>
force_filename
<not_specific>