Class: Mime::NullType

Inherits:
Object show all
Includes:
Singleton
Defined in:
actionpack/lib/action_dispatch/http/mime_type.rb

Instance Method Summary collapse

Methods included from Singleton

#duplicable?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object (private)


353
354
355
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 353

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

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)

338
339
340
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 338

def nil?
  true
end

#refObject


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

def ref; end

#to_sObject


342
343
344
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 342

def to_s
  ""
end