Finalizing on Ruby