Method: Charty::ArrayLayout#num_rows

Defined in:
lib/charty/layout.rb

#num_rowsObject


47
48
49
# File 'lib/charty/layout.rb', line 47

def num_rows
  @direction == :horizontal ? 1 : @array.count
end