Method: Basic101::BasicArray#dimension
- Defined in:
- lib/basic101/basic_array.rb
#dimension(max_indices) ⇒ Object
12 13 14 15 16 |
# File 'lib/basic101/basic_array.rb', line 12 def dimension(max_indices) check_max_indices(max_indices) @max_indices = max_indices @array = make_array(max_indices) end |