Class: SuperDiff::ObjectInspection::InspectionTreeBuilders::Main

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

Instance Method Summary collapse

Instance Method Details

#callObject



9
10
11
12
13
14
15
# File 'lib/super_diff/object_inspection/inspection_tree_builders/main.rb', line 9

def call
  if resolved_class
    resolved_class.call(object)
  else
    raise NoInspectorAvailableError.create(object)
  end
end