how to search array by string [in ruby]

前端 未结 0 2022
迷失自我
迷失自我 2020-12-12 11:39
def choose_menu
   input = get_input
   #binding.pry
   if input.to_i.between?(1, Recipes.all.length)
           ingredients_Are(input)
       # elsif input == "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题