ruby public class