Method: Charty::ArrayLayout#num_cols

Defined in:
lib/charty/layout.rb

#num_colsObject



51
52
53
# File 'lib/charty/layout.rb', line 51

def num_cols
  @direction == :vertical ? 1 : @array.count
end