Class: Mime::NullType

Inherits:
Object show all
Includes:
Singleton
Defined in:
actionpack/lib/action_dispatch/http/mime_type.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object (private)



352
353
354
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 352

def method_missing(method, *args)
  false if method.to_s.ends_with? "?"
end

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


337
338
339
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 337

def nil?
  true
end

#refObject



345
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 345

def ref; end

#to_sObject



341
342
343
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 341

def to_s
  ""
end