123456789_123456789_123456789_123456789_123456789_

Class: Mime::NullType

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, ::Singleton
Inherits: Object
Defined in: actionpack/lib/action_dispatch/http/mime_type.rb

Instance Attribute Summary

::Singleton - Included

#duplicable?

::Singleton instances are not duplicable:

Instance Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method) (private)

[ GitHub ]

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

def method_missing(method, ...)
  false if method.end_with?("?")
end

Instance Attribute Details

#nil?Boolean (readonly)

[ GitHub ]

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

def nil?
  true
end

Instance Method Details

#ref

[ GitHub ]

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

def ref; end

#respond_to_missing?(method, _) ⇒ Boolean (private)

[ GitHub ]

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

def respond_to_missing?(method, _)
  method.end_with?("?")
end

#to_s

[ GitHub ]

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

def to_s
  ""
end