# File lib/cgikit.rb, line 1553 def check_conflicted_attributes( *attributes ) combination = [] attr = nil attributes.each do | attr | if definition.include? attr then combination << attr end end if combination.size >= 2 then _attr = nil string = '' pop1_str = combination.pop pop2_str = combination.pop combination.each do | _attr | string << "\"#{_attr}\", " end string << "\"#{pop2_str}\" or \"#{pop1_str}\"" msg = "Exactly one of #{string} must be bound - " msg << name_with_class raise AttributeError, msg end end