Method: HighLine::List#col_down_mode

Defined in:
lib/highline/list.rb

#col_down_modeBoolean (readonly)

Content are distributed first by column in col down mode.

Examples:

A two columns array like this:

[ [ "a", "b" ],
  [ "c", "d" ],
  [ "e", "f" ],
  [ "g", "h" ],
  [ "i", "j" ] ]

In col down mode will be like this:

[ [ "a", "f"],
  [ "b", "g"],
  [ "c", "h"],
  [ "d", "i"],
  [ "e", "j"] ]

Returns:

  • (Boolean)

See Also:



53
54
55
# File 'lib/highline/list.rb', line 53

def col_down_mode
  @col_down_mode
end