module Sequent
  module Core
    module Transactions

      class NoTransactions
        def transactional
          yield
        end
      end

    end
  end
end

module Sequent
  module Core
    module Transactions
      #
      # NoTransactions is used when replaying the +ViewSchema+ for
      # view schema upgrades. Transactions are not needed there since the
      # view state will always be recreated anyway.
      #
      class NoTransactions
        def transactional
          yield
        end
      end

    end
  end
end

Add comment to clarify intent of NoTransactions
Add comment to clarify intent of NoTransactions