ruby library for the nstrct protocol