Method: String.test_data
- Defined in:
- lib/contracts/builtin_contracts.rb
.test_data ⇒ Object
382 383 384 385 |
# File 'lib/contracts/builtin_contracts.rb', line 382 def self.test_data # send a random string ('a'..'z').to_a.shuffle[0, 10].join end |