Class: Marray

Inherits:
Array
  • Object
show all
Defined in:
lib/devist/models/tags.rb

Overview

tags.rb:Marray

This is the helper class that allows us to recreate a multidimensional array.

Instance Method Summary collapse

Instance Method Details

#[](i) ⇒ Object



6
7
8
# File 'lib/devist/models/tags.rb', line 6

def [](i)
  super.nil? ? self[i] = Marray.new : super
end