Class: MultiMime::NullType

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_mime/null_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)



9
10
11
# File 'lib/multi_mime/null_type.rb', line 9

def method_missing(method, *args)
  false if method.to_s[-1, 1] == '?'
end

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/multi_mime/null_type.rb', line 3

def nil?
  true
end