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

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

[ GitHub ]

  
# 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