Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- emmott-15MBPi7:~ fredemmott$ irb
- irb(main):001:0> require 'active_support/core_ext/array/random_access'
- => true
- irb(main):002:0> [:foo, :bar].sample
- => :foo
- irb(main):003:0>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement