module CGI::HtmlExtension
def base(href = "") # :yield:
# => "
base("http://www.example.com/cgi")
The passed-in no-argument block is ignored.
attribute, or it can be a has of the element's attributes.
+href+ can either by a string, giving the base URL for the HREF
Generate a Document Base URI element as a String.
def base(href = "") # :yield: attributes = if href.kind_of?(String) { "HREF" => href } else href end super(attributes) end