def link_to_method(method_text, url = nil, classname = nil)
      method_text =~ /\A(.+) \((.+)\)\Z/
      method_name, module_name = $1, $2
      link_to %Q(<span class="method_name">#{h method_name}</span> <span class="module_name">(#{h module_name})</span>), url, classname
    end
def link_to_method(method_text, url = nil, classname = nil)
      method_text =~ /\A(.+) \((.+)\)\Z/
      method_name, module_name = $1, $2
      link_to %Q(<span class="method_name">
    end
def link_to_method ( method_text , url = nil , classname = nil ) method_text =~ / \A \( \) \Z / method_name , module_name = $1 , $2 link_to %Q(<span class="method_name">#{h method_name}</span> <span class="module_name">(#{h module_name})</span>) , url , classname end
+method_text+ is in the form of "ago (ActiveSupport::TimeWithZone)".
+ method_text + is in the form of ago ( ActiveSupport :: TimeWithZone ) .