Ruby version of DDS2