Làm thế nào để getter và setter trong Ruby?

{{FormatNumbertoThousand(model.total_like)}} lượt thích
878 lượt xem
{{login.error}}