lib/dbus/xml.rb
Method parse
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def parse
# Using a Hash instead of a list helps merge split-up interfaces,
# a quirk observed in ModemManager (I#41).
interfaces = Hash.new do |hash, missing_key|
hash[missing_key] = Interface.new(missing_key)