Module: Xqsr3::XML::Utilities::Compare

Defined in:
lib/xqsr3/xml/utilities/compare.rb

Defined Under Namespace

Modules: Internal_Compare_ Classes: Result

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.xml_compare(lhs, rhs, **options) ⇒ Object



522
523
524
525
526
527
# File 'lib/xqsr3/xml/utilities/compare.rb', line 522

def self.xml_compare lhs, rhs, **options

	$stderr.puts "#{self}#{__method__}(lhs (#{lhs.class})=#{Internal_Compare_.one_line_ lhs}, rhs (#{rhs.class})=#{Internal_Compare_.one_line_ rhs}, options (#{options.class})=#{options})" if $DEBUG

	Internal_Compare_.xml_compare_ lhs, rhs, options
end

Instance Method Details

#xml_compare(lhs, rhs, **options) ⇒ Object



529
530
531
532
533
534
# File 'lib/xqsr3/xml/utilities/compare.rb', line 529

def xml_compare lhs, rhs, **options

	$stderr.puts "#{self}#{__method__}(lhs (#{lhs.class})=#{Internal_Compare_.one_line_ lhs}, rhs (#{rhs.class})=#{Internal_Compare_.one_line_ rhs}, options (#{options.class})=#{options})" if $DEBUG

	Internal_Compare_.xml_compare_ lhs, rhs, options
end