# File lib/generators/templates/application/merb_stack/doc/rdoc/generators/merb_generator.rb, line 104 def handle_special_CROSSREF(special) name = special.text if name[0,1] == '#' lookup = name[1..-1] name = lookup unless Options.instance.show_hash else lookup = name end if /([A-Z].*)[.\#](.*)/ =~ lookup container = $1 method = $2 ref = @context.find_symbol(container, method) else ref = @context.find_symbol(lookup) end if ref and ref.document_self "<a href=\"index.html?a=#{ref.aref}&name=#{name}\">#{name}</a>" else name #it does not need to be a link end end