Class: Gorillib::Factory::RangeFactory

Inherits:
NonConvertingFactory show all
Defined in:
lib/gorillib/factories.rb

Instance Method Summary collapse

Methods inherited from NonConvertingFactory

#receive

Methods inherited from BaseFactory

blankish?, #initialize, native?, #native?, #receive, typename, #typename

Constructor Details

This class inherits a constructor from Gorillib::Factory::BaseFactory

Instance Method Details

#blankish?(obj) ⇒ Boolean

Returns:

  • (Boolean)


535
# File 'lib/gorillib/factories.rb', line 535

def blankish?(obj)    obj.nil? || obj == [] ; end