Displaying 1 result from an estimated 1 matches for "pharantesi".
Did you mean:
pharantesis
2006 Apr 06
1
Strench Error
I am new with ruby but something fishy with the array.
if I type
q=aa
puts INV_FILE_HASH[q] # where INV_FILE_HASH is my hash function
I GET THE RESULT PERFECTLY HOWEVER,
query is user input and couldbe ''aa'' or ''aa aa''
query = query.split(/ /)
query.each { |q|
if (q == ''and'')
OP.push(''and'')
elsif (q ==