Ruby exchange interface