ruby: Implement ION based on CAF

Initial ION implementation