lib/text-table/cell.rb
# The object whose <tt>to_s</tt> method is called when rendering the cell.
#
The object whose to_s method is called when rendering the cell.
The object whose to_s method is called when rendering the cell .
def to_s 
      ([' ' * table.horizontal_padding]*2).join case align
        when :left
          value.ljust cell_width
        when :right
          value.rjust cell_width
        when :center
          value.center cell_width
        end
      end
def to_s ( [ ' ' * table . horizontal_padding ] * 2 ) . join case align when :left value . ljust cell_width when :right value . rjust cell_width when :center value . center cell_width end end
The object whose <tt>to_s</tt> method is called when rendering the cell.
The object whose <tt > to_s< / tt > method is called when rendering the cell .
#:nodoc: