# File lib/mime/type.rb, line 48 48: def like?(other) 49: if other.respond_to?(:simplified) 50: @simplified == other.simplified 51: else 52: @simplified == Type.simplified(other) 53: end 54: end