Sha256: 73d99198510798f32ced85c6cdfb97167ed4a22a44f9bf751e6142eea6d768a6
Contents?: true
Size: 461 Bytes
Versions: 13
Compression:
Stored size: 461 Bytes
Contents
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
13 entries across 13 versions & 1 rubygems