Class: Quota
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Quota
- Defined in:
- app/models/quota.rb
Instance Method Summary collapse
- #full_summary ⇒ Object
-
#summary ⇒ Object
include ActiveModel::ForbiddenAttributesProtection.
Instance Method Details
#full_summary ⇒ Object
18 19 20 |
# File 'app/models/quota.rb', line 18 def full_summary "(#{flat_type}) #{summary}" end |
#summary ⇒ Object
include ActiveModel::ForbiddenAttributesProtection
14 15 16 |
# File 'app/models/quota.rb', line 14 def summary "M:#{malay},C:#{chinese},I/O:#{others}" end |