lib/tty/vector.rb in tty-0.3.1 vs lib/tty/vector.rb in tty-0.3.2

- old
+ new

@@ -25,11 +25,10 @@ # # @return [undefined] # # @api public def initialize(array = []) - @converter = Necromancer.new - @elements = @converter.convert(array).to(:array, strict: true) + @elements = Array(array) end # Return element at index. # # @param [Integer] indx