method
base
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: CGI::HtmlExtension
- 1_8_6_287 (0)
- 1_8_7_72 (0)
- 1_8_7_330 (0)
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (-2)
- 1_9_3_392 (0)
- What's this?
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("http://www.example.com/cgi") # => "<BASE HREF=\"http://www.example.com/cgi\">"


