Class: Stoplight::Undefined Private
- Inherits:
-
Object
- Object
- Stoplight::Undefined
- Includes:
- Singleton
- Defined in:
- lib/stoplight/undefined.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Singleton representing an undefined/not-provided argument.
Distinct from nil, which may be a valid configured value. Used with keyword arguments to detect when a parameter wasn’t passed vs. explicitly set to nil.
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s) private
Instance Method Details
#inspect ⇒ Object Also known as: to_s
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 |
# File 'lib/stoplight/undefined.rb', line 13 def inspect = "UNDEFINED" |