Class: SuperDiff::ObjectInspection::Inspector

Inherits:
Object
  • Object
show all
Defined in:
lib/super_diff/object_inspection/inspector.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
11
12
13
14
15
16
# File 'lib/super_diff/object_inspection/inspector.rb', line 8

def call
  SuperDiff::RecursionGuard.substituting_recursion_of(object) do
    inspector.evaluate(
      object,
      as_single_line: as_single_line,
      indent_level: indent_level,
    )
  end
end