Module Origin::Extensions::NilClass
In: lib/origin/extensions/nil_class.rb

This module contains additional nil behaviour.

Methods

Public Instance methods

Add this object to nil.

@example Add the object to a nil value.

  nil.__add__([ 1, 2, 3 ])

@param [ Object ] object The object to add.

@return [ Object ] The provided object.

@since 1.0.0

__evolve_date__()

Alias for #evolve_time

Evolve the nil into a date or time.

@example Evolve the nil.

  nil.__evolve_time__

@return [ nil ] nil.

@since 1.0.0

Add this object to nil.

@example Add the object to a nil value.

  nil.__expanded__([ 1, 2, 3 ])

@param [ Object ] object The object to expanded.

@return [ Object ] The provided object.

@since 1.0.0

Add this object to nil.

@example Add the object to a nil value.

  nil.__intersect__([ 1, 2, 3 ])

@param [ Object ] object The object to intersect.

@return [ Object ] The provided object.

@since 1.0.0

Add this object to nil.

@example Add the object to a nil value.

  nil.__override__([ 1, 2, 3 ])

@param [ Object ] object The object to override.

@return [ Object ] The provided object.

@since 1.0.0

Add this object to nil.

@example Add the object to a nil value.

  nil.__union__([ 1, 2, 3 ])

@param [ Object ] object The object to union.

@return [ Object ] The provided object.

@since 1.0.0

[Validate]