Method: Mechanize::PluggableParser#register_parser

Defined in:
lib/mechanize/pluggable_parsers.rb

#register_parser(content_type, klass) ⇒ Object

:nodoc:


119
120
121
# File 'lib/mechanize/pluggable_parsers.rb', line 119

def register_parser content_type, klass # :nodoc:
  @parsers[content_type] = klass
end