<prompt> Kuandika kazi ya Ruby ambayo inachukua katika safu na kipengele maalum, na kutekeleza linear utafutaji algorithm kuamua kama au si kipengele ni sasa katika safu. kazi lazima kurudi index ya kipengele kama ni kupatikana, na -1 kama si kupatikana. linear utafutaji algorithm lazima iterate kupitia kila kipengele cha safu kwa utaratibu, mpaka ama anapata kipengele au kufikia mwisho wa safu.  <response>: Kwa mujibu wa linear-search.org, linear-search.org na linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org, linear-search.org. 