2 ms·
> singular `include?` instead of `includes?` Pedantic tangent, but `includes` is actually the singular form: "This array includes that object" vs "All of these
by wgjordan 3y ago
> singular `include?` instead of `includes?`
Pedantic tangent, but `includes` is actually the singular form: "This array includes that object" vs "All of these arrays include that object".
- rezonant 3y agohuh, true. Still backwards in ruby :-)
- chris12321 3y agoNo, it's a question, "does array x include object y?" `x.include?(y)`