ruby study note