Remove magic comment from generator when using ruby 2.0