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
- #nil? ⇒ Boolean readonly
Instance Method Summary
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) (private)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 323
def method_missing(method, *args) false if method.to_s.ends_with? '?' end
Instance Attribute Details
#nil? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 312
def nil? true end
Instance Method Details
#ref
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 316
def ref; end
#respond_to_missing?(method, include_private = false) ⇒ Boolean
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 318
def respond_to_missing?(method, include_private = false) method.to_s.ends_with? '?' end