Method: Interactify::Wiring#format_error
- Defined in:
- lib/interactify/wiring.rb
#format_error(missing, interactor, organizer, formatted_errors) ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/interactify/wiring.rb', line 51 def format_error(missing, interactor, organizer, formatted_errors) formatted_errors << " Missing keys: \#{missing.to_a.map(&:to_sym).map(&:inspect).join(', ')}\n expected in: \#{interactor.klass}\n called by: \#{organizer.klass}\n ERROR\nend\n" |