Path: | lib/core/facets/na.rb |
Last Update: | Wed Jan 05 06:24:23 +0000 2011 |
N/A exception is useful for specifying non-argument defaults when nil is a valid value.
def f(x=NA) end
NA is also used to represent an argument "slot" for Proc#partial.
NA is an instance of ArgumentError.