Flowdock
method

=~

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Mime::Type
=~(mime_type) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 264
    def =~(mime_type)
      return false if mime_type.blank?
      regexp = Regexp.new(Regexp.quote(mime_type.to_s))
      (@synonyms + [ self ]).any? do |synonym|
        synonym.to_s =~ regexp
      end
    end
Register or log in to add new notes.