# File lib/bundler/vendor/thor/base.rb, line 340
      def no_tasks
        @no_tasks = true
        yield
      ensure
        @no_tasks = false
      end