Class: RexleArray
- Inherits:
-
Array
- Object
- Array
- RexleArray
- Defined in:
- lib/rexle-builder.rb
Instance Method Summary collapse
-
#initialize(raw_a) ⇒ RexleArray
constructor
A new instance of RexleArray.
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 |