Class: Ratomic::Undefined
- Inherits:
-
Object
- Object
- Ratomic::Undefined
- 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
-
#inspect ⇒ String
Return the sentinel's stable inspection string.
Instance Method Details
#inspect ⇒ String
Return the sentinel's stable inspection string.
10 11 12 |
# File 'lib/ratomic/undefined.rb', line 10 def inspect "#<Undefined>" end |