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



447
448
449
450
451
452
# File 'lib/xqsr3/xml/utilities/compare.rb', line 447

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



454
455
456
457
458
459
# File 'lib/xqsr3/xml/utilities/compare.rb', line 454

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