add ruby version and change private method syntax to be backwards compatibly