class Mime::NullType

Public Instance Methods

nil?() click to toggle source
# File lib/action_dispatch/http/mime_type.rb, line 311
def nil?
  true
end
ref() click to toggle source
# File lib/action_dispatch/http/mime_type.rb, line 315
def ref
  nil
end
respond_to_missing?(method, include_private = false) click to toggle source
# File lib/action_dispatch/http/mime_type.rb, line 319
def respond_to_missing?(method, include_private = false)
  method.to_s.ends_with? '?'
end

Private Instance Methods

method_missing(method, *args) click to toggle source
# File lib/action_dispatch/http/mime_type.rb, line 324
def method_missing(method, *args)
  false if method.to_s.ends_with? '?'
end