Method: BOAST::ConstArray#initialize

Defined in:
lib/BOAST/Algorithm.rb

#initialize(array, type = nil) ⇒ ConstArray

Returns a new instance of ConstArray.



1010
1011
1012
1013
# File 'lib/BOAST/Algorithm.rb', line 1010

def initialize(array,type = nil)
  super(array)
  @type = type::new if type
end