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