how to check if something is array in ruby code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true