Class: Mime::NullType

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
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)



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

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

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


331
332
333
# File 'lib/action_dispatch/http/mime_type.rb', line 331

def nil?
  true
end

#refObject



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

def ref; end