ebxblg
Last Updated: July 27, 2016
·
476
· sheerun
Photo on 08.01.2013 at 04.15

Find out quickly methods available for class

For irb:

irb(main):001:0> Random.methods - Object.methods
=> [:srand, :rand, :new_seed]

You can also use pry:

[1] pry(main)> ls -m Random
Random.methods: new_seed  rand  srand