Sha256: 491f6463cd977e763fc7012c4507f678b05954c23031f0c1f887b0cbdad39f13
Contents?: true
Size: 492 Bytes
Versions: 38
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module SQLServer module Showplan class PrinterXml def initialize(result) @result = result end def pp xml = @result.rows.first.first if defined?(Nokogiri) Nokogiri::XML(xml).to_xml indent: 2, encoding: "UTF-8" else xml end end end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems