Module: Demand

Defined in:
lib/demand.rb,
lib/demand/version.rb

Constant Summary collapse

OPTIONS =
{
	# If true, a passed block will still run if the presence check on your variable fails. The default value will be yielded to the block instead.
	yield_default: false,
	# If true, the return value of the passed block (if run) will be the return value for the main method itself.
	return_yield: false
}
VERSION =
"1.1.1"

Instance Attribute Summary collapse

Instance Attribute Details

#OPTIONSObject

Returns the value of attribute OPTIONS.



10
11
12
# File 'lib/demand.rb', line 10

def OPTIONS
  @OPTIONS
end