ruby array methods Posted Aug 24, 2025 By Victor Elgersma 1 min readinclude?Check if an array includes a certain value. 1 2 3 4 5 my_arr = [1,2,3,4] => [1, 2, 3, 4] my_arr.include? 4 => true ruby This post is licensed under CC BY 4.0 by the author. Share