ring_app example: fancier logic
Merge pull request #19 from piranha/patch-1

ring_app example: fancier logic