# File lib/myrurema.rb, line 97 def search_num(query, num, ver) should_have_db(ver) result = `#{bitclust_path/'bin/refe'} #{query} -d #{db_path(ver)}` word = result.split[num-1] if word word.gsub!(/\.#/, ".") # avoid multi-hit for a module function puts "searching #{word}" search(word, ver) else error "less than #{num} entries found" end end