[mostly] answered more Ruby problems