Libraries
»
dummy_files
(0.0.10)
»
Index (A)
»
Array
Class: Array
Inherits:
Object
Object
Array
show all
Defined in:
lib/dummy_files.rb
Instance Method Summary
collapse
#
random
⇒ Object
Instance Method Details
#
random
⇒
Object
70 71 72
# File 'lib/dummy_files.rb', line 70
def
random
self
[
rand
(
self
.
length
)
]
end