Class: Axn::Internal::CycleGuard::Placeholder

Inherits:
String
  • Object
show all
Defined in:
lib/axn/internal/cycle_guard.rb

Overview

Renders as Ruby's inspect output for a recursive container, WITHOUT the surrounding quotes a plain String would gain when a formatter inspects it — so a decycled copy reads the same as a guarded walk ([...], not "\"[...]\""). Still a String subclass, so ParameterFilter, JSON serializers, and an error tracker's own formatting all treat it as the ordinary string it is.

Instance Method Summary collapse

Instance Method Details

#inspectObject



21
# File 'lib/axn/internal/cycle_guard.rb', line 21

def inspect = self