Libraries
»
dummy_files
(0.0.11)
»
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
72 73 74
# File 'lib/dummy_files.rb', line 72
def
random
self
[
rand
(
self
.
length
)
]
end