This method retrieves the public identifier identifying the document’s DTD
.
Method
contributed by Henrik Martensson
Private helper class. Removes quotes from quoted strings
Services the request req
which will fill in the response res
. See WEBrick::HTTPServlet::AbstractServlet#service
for details.
Services req
and fills in res
Checks if there are duplicate links with the same type and hreflang attributes that have an alternate (or empty) rel attribute
Raises a TooMuchTagError
if there are duplicates found
Returns true
if the named public method is defined by mod. If inherit is set, the lookup will also search mod’s ancestors. String
arguments are converted to symbols.
module A def method1() end end class B protected def method2() end end class C < B include A def method3() end end A.method_defined? :method1 #=> true C.public_method_defined? "method1" #=> true C.public_method_defined? "method1", true #=> true C.public_method_defined? "method1", false #=> true C.public_method_defined? "method2" #=> false C.method_defined? "method2" #=> true
Makes a list of existing class methods public.
String
arguments are converted to symbols.
Return true if there are possible conflicts against the currently loaded specs.
Stop this server.