public()
public
This method retrieves the public
identifier identifying the document’s DTD.
Method contributed by Henrik Martensson
# File lib/rexml/doctype.rb, line 157
def public
case @external_id
when "SYSTEM"
nil
when "PUBLIC"
strip_quotes(@long_name)
end
end