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)



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

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

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


361
362
363
# File 'lib/action_dispatch/http/mime_type.rb', line 361

def nil?
  true
end

#refObject



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

def ref; end

#to_sObject



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

def to_s
  ""
end