Class: SuperDiff::Core::InspectionTreeBuilderDispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/super_diff/core/inspection_tree_builder_dispatcher.rb

Instance Method Summary collapse

Instance Method Details

#callObject



10
11
12
13
14
# File 'lib/super_diff/core/inspection_tree_builder_dispatcher.rb', line 10

def call
  raise NoInspectionTreeBuilderAvailableError.create(object) unless resolved_class

  resolved_class.call(object)
end