params (Generators::HtmlMethod)

    # File lib/generators/templates/application/merb_stack/doc/rdoc/generators/merb_generator.rb, line 999
            def params
                # params coming from a call-seq in 'C' will start with the
                # method name
                p = @context.params
                if p !~ /^\w/
                    p = @context.params.gsub(/\s*\#.*/, '')
                    p = p.tr("\n", " ").squeeze(" ")
                    p = "(" + p + ")" unless p[0] == ?(

                    if (block = @context.block_params)
                        # If this method has explicit block parameters, remove any
                        # explicit &block

                        p.sub!(/,?\s*&\w+/, '')

                        block.gsub!(/\s*\#.*/, '')
                        block = block.tr("\n", " ").squeeze(" ")
                        if block[0] == ?(
                            block.sub!(/^\(/, '').sub!(/\)/, '')
                        end
                        p << " {|#{block.strip}| ...}"
                    end
                end
                CGI.escapeHTML(p)
            end