module Omnibus::NullArgumentable

Constants

NULL

The “empty” null object.

@return [Object]

Public Class Methods

included(base) click to toggle source

Called when the module is included.

@param [Object] base

# File lib/omnibus/null_argumentable.rb, line 31
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

null?(object) click to toggle source

@see (NullArgumentable.null?)

# File lib/omnibus/null_argumentable.rb, line 47
def null?(object)
  self.class.null?(object)
end