Class: Mime::NullType
- Inherits:
-
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
334
335
336
|
# File 'lib/action_dispatch/http/mime_type.rb', line 334
def method_missing(method, *args)
false if method.to_s.ends_with? "?"
end
|
Instance Method Details
#nil? ⇒ Boolean
323
324
325
|
# File 'lib/action_dispatch/http/mime_type.rb', line 323
def nil?
true
end
|
#ref ⇒ Object
327
|
# File 'lib/action_dispatch/http/mime_type.rb', line 327
def ref; end
|
#respond_to_missing?(method, include_private = false) ⇒ Boolean
329
330
331
|
# File 'lib/action_dispatch/http/mime_type.rb', line 329
def respond_to_missing?(method, include_private = false)
method.to_s.ends_with? "?"
end
|