Libraries
»
array_is_uniq
(0.0.1)
»
Index (A)
»
Array
Class: Array
Inherits:
Object
Object
Array
show all
Defined in:
lib/array.rb
Instance Method Summary
collapse
#
uniq?
⇒ Boolean
Instance Method Details
#
uniq?
⇒
Boolean
Returns:
(
Boolean
)
4 5 6
# File 'lib/array.rb', line 4
def
uniq?
self
.
length
==
self
.
uniq
.
length
end