Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/config/nil_extension.rb

Overview

This has some drawbacks, but its quick and easy to get nil returned

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*_) ⇒ Object



3
4
5
# File 'lib/config/nil_extension.rb', line 3

def method_missing *_
  nil
end