lib/hatemile/implementation/accessible_association_implementation.rb
##
# Validate the list that represents the table header.
#
# @param header [Array<Array<Hatemile::Util::Html::HTMLDOMElement>>] The
#   list that represents the table header.
# @return [Boolean] True if the table header is valid or false if the
#   table header is not valid.
Validate the list that represents the table header.
Validate the list that represents the table header .
def valid_header?(header)
        return false if header.empty?
        length = -1
        header.each do |row|
          return false if row.empty?
          length = row.size if length == -1
          return false if row.size != length
        end
        true
      end
def valid_header? ( header ) return false if header . empty? length = - 1 header . each do | row | return false if row . empty? length = row . size if length == - 1 return false if row . size != length end true end
Validate the list that represents the table header.
Validate the list that represents the table header .
True if the table header is valid or false if the table header is not valid.
True if the table header is valid or false if the table header is not valid .
Boolean
header
The list that represents the table header.
The list that represents the table header .