Method: MyThreadOut#method_missing
- Defined in:
- lib/toaster/toaster_app_service.rb
#method_missing(name, *args, &block) ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/toaster/toaster_app_service.rb', line 38 def method_missing(name, *args, &block) local_out = Thread.current[:stdout] if local_out then local_out.send(name, *args, &block) else STDOUT.send(name, *args, &block) end end |