# File lib/ruote/reader.rb, line 318 def self.split_atts(atts) atts = atts.to_a.sort_by { |k, v| k } txt = atts.find { |k, v| v == nil } atts.delete(txt) if txt [ txt ? txt.first : nil, atts ] end