Method: SuperDiff::Core::OperationTreeBuilderDispatcher#call
- Defined in:
- lib/super_diff/core/operation_tree_builder_dispatcher.rb
#call ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/super_diff/core/operation_tree_builder_dispatcher.rb', line 14 def call if resolved_class resolved_class.call(expected: expected, actual: actual) elsif raise_if_nothing_applies? raise NoOperationTreeBuilderAvailableError.create(expected, actual) end end |