Move Ruby package declaration into a class