Method: Sym::Application#process_output
- Defined in:
- lib/sym/application.rb
#process_output(result) ⇒ Object
54 55 56 57 58 59 60 61 |
# File 'lib/sym/application.rb', line 54 def process_output(result) unless result.is_a?(Hash) self.output.call(result) result else result end end |