Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/audit/lib/util/random_string.rb
Overview
Ruby 1.8 does not contains sample() function
Instance Method Summary collapse
Instance Method Details
#sample ⇒ Object
6 7 8 |
# File 'lib/audit/lib/util/random_string.rb', line 6 def sample() return self.choice() end |