Class: Ratomic::Undefined

Inherits:
Object
  • Object
show all
Defined in:
lib/ratomic/undefined.rb

Overview

Internal sentinel object for future Hash-like APIs that need to distinguish missing keys from explicit nil values.

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns:

  • (String)


8
9
10
# File 'lib/ratomic/undefined.rb', line 8

def inspect
  "#<Undefined>"
end