[ruby] Get list of a class' instance methods