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