Class: Stoplight::Undefined Private

Inherits:
Object
  • Object
show all
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

Instance Method Details

#inspectObject 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"