Method: Rubyvis::Nest#initialize
- Defined in:
- lib/rubyvis/nest.rb
permalink #initialize(array) ⇒ Nest
Constructs a nest operator for the specified array. This constructor should not be invoked directly; use Rubyvis.nest instead.
76 77 78 79 80 |
# File 'lib/rubyvis/nest.rb', line 76 def initialize(array) @array=array @keys=[] @order=nil end |