Class: RexleArray

Inherits:
Array
  • Object
show all
Defined in:
lib/rexle-builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(raw_a) ⇒ RexleArray

Returns a new instance of RexleArray.



8
9
10
11
# File 'lib/rexle-builder.rb', line 8

def initialize(raw_a)
  a = raw_a.first.is_a?(Array) ? raw_a : [raw_a]
  super(a)
end