#!/usr/bin/ruby # ## https://rosettacode.org/wiki/Search_a_list # var haystack = %w(Zig Zag Wally Ronald Bush Krusty Charlie Bush Bozo); say haystack.last_index{|item| item == "Bush"};