Class: Arxivarius::Category
- Inherits:
-
Object
- Object
- Arxivarius::Category
- Includes:
- HappyMapper
- Defined in:
- lib/arxivarius/category.rb
Constant Summary collapse
- CATEGORIES_PATH =
Maps category names to human-readable labels. Not available through the arXiv API, so we maintain a local copy.
File.('data/categories.yml', __dir__)
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.types ⇒ Object
11 12 13 |
# File 'lib/arxivarius/category.rb', line 11 def self.types @types ||= YAML.safe_load_file(CATEGORIES_PATH) end |