Methods

Mechanize::ContentTypeError

This error is raised when a pluggable parser tries to parse a content type that it does not know how to handle. For example if Mechanize::Page were to try to parse a PDF, a ContentTypeError would be thrown.

Attributes

content_type[R]

Public Class Methods

new(content_type) click to toggle source
    # File lib/mechanize/content_type_error.rb, line 9
 9:   def initialize(content_type)
10:     @content_type = content_type
11:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.