Ruby extended library for use symmetry group