Skip to content

Add mutation from Array#one? to array.length.equal?(1). #1246

Open
@mbj

Description

People usually do not want this:

[nil].one? # false

And if they want it they should provide evidence, in form of a test.

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions