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)



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

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

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


364
365
366
# File 'lib/action_dispatch/http/mime_type.rb', line 364

def nil?
  true
end

#refObject



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

def ref; end

#to_sObject



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

def to_s
  ""
end