ruby open class