ebxblg
Last Updated: July 27, 2016
·
499
· sheerun

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