# File lib/cgikit.rb, line 1516 def check_undefined_attributes( *attrs ) attrs.flatten! attrs << 'oid' attrs << 'element' attr = name = nil definition.each_key do | attr | if ( attrs.include? attr ) == false then raise AttributeError, \ "Attribute '#{attr}' is undefined attribute - #{name_with_class}" end end end