lib/clin/text/table.rb
# Get the delimiter to insert after the cell at +index+
# @param index [Integer] Cell index.
# Will return the corresponding delimiter and for the last cell will return ''
Get the delimiter to insert after the cell at +index+
Get the delimiter to insert after the cell at + index +
def delimiter_at(index)
      delim = @table.delimiter_at(index)
      if !@table.separate_blank? && (@cells[index].blank? || @cells[index + 1].blank?)
        delim = ' ' * delim.size
      end
      delim
    end
def delimiter_at ( index ) delim = @table . delimiter_at ( index ) if ! @table . separate_blank? && ( @cells [ index ] . blank? || @cells [ index + 1 ] . blank? ) delim = ' ' * delim . size end delim end
Get the delimiter to insert after the cell at +index+
Get the delimiter to insert after the cell at + index +
index
Cell index. Will return the corresponding delimiter and for the last cell will return ''
Cell index . Will return the corresponding delimiter and for the last cell will return ' '