Method: Mechanize::PluggableParser#xhtml=

Defined in:
lib/mechanize/pluggable_parsers.rb

#xhtml=(klass) ⇒ Object

Registers klass as the parser for application/xhtml+xml content



135
136
137
# File 'lib/mechanize/pluggable_parsers.rb', line 135

def xhtml=(klass)
  register_parser(CONTENT_TYPES[:xhtml], klass)
end