base(href = "") public

Generate a Document Base URI element as a String.

href can either by a string, giving the base URL for the HREF attribute, or it can be a has of the element’s attributes.

The passed-in no-argument block is ignored.

    # => "<BASE HREF=\"http://www.example.com/cgi\">"
Show source
Register or log in to add new notes.