Class: Ecm::Downloads::DownloadCategory
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ecm::Downloads::DownloadCategory
- Extended by:
- FriendlyId
- Defined in:
- app/models/ecm/downloads/download_category.rb
Instance Method Summary collapse
Instance Method Details
#downloads_count ⇒ Object
34 35 36 |
# File 'app/models/ecm/downloads/download_category.rb', line 34 def downloads_count downloads.count end |
#human ⇒ Object
38 39 40 |
# File 'app/models/ecm/downloads/download_category.rb', line 38 def human name end |
#to_s ⇒ Object
42 43 44 |
# File 'app/models/ecm/downloads/download_category.rb', line 42 def to_s name end |