Skip to content

Instantly share code, notes, and snippets.

View andrehjr's full-sized avatar

André Luis Leal Cardoso Jr andrehjr

  • Florianópolis, Imbituba - SC - Brazil
View GitHub Profile
require 'rubygems'
require 'active_support'
require 'set'
a = [ 'q1', 'q2', 'q3', 'q4' , 'q5', 'q6'] #, 'q3', 'q4', 'q5'] #, 'q3', 'q4' ]
new_test = []
a.each_with_index do |item, index|