Skip to content

Enumerable#include? should receive any object#2849

Open
HoneyryderChuck wants to merge 1 commit intoruby:masterfrom
HoneyryderChuck:patch-2
Open

Enumerable#include? should receive any object#2849
HoneyryderChuck wants to merge 1 commit intoruby:masterfrom
HoneyryderChuck:patch-2

Conversation

@HoneyryderChuck
Copy link
Contributor

this checks only if an object exists in the collection, regardless of type. ruby does not raise an exception if the types don't match.

this checks only if an object exists in the collection, regardless of type. ruby does not raise an exception if the types don't match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant