Class: Arx::Category
- Inherits:
-
Object
- Object
- Arx::Category
- Includes:
- Inspector, HappyMapper
- Defined in:
- lib/arx/entities/category.rb
Overview
Entity/model representing an arXiv paper’s category.
Instance Method Summary collapse
-
#full_name ⇒ String
The full name of the category.
-
#name ⇒ String
The abbreviated name of the category.
Methods included from Inspector
Instance Method Details
#full_name ⇒ String
The full name of the category.
18 19 20 |
# File 'lib/arx/entities/category.rb', line 18 def full_name CATEGORIES[name] end |
#name ⇒ String
The abbreviated name of the category.
13 |
# File 'lib/arx/entities/category.rb', line 13 attribute :name, Cleaner, parser: :clean, tag: 'term' |