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) ⇒ Object (private)



383
384
385
# File 'lib/action_dispatch/http/mime_type.rb', line 383

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

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


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

def nil?
  true
end

#refObject



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

def ref; end

#to_sObject



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

def to_s
  ""
end