Sha256: e7eb2d58907e1cba82e0ed6e97e8e76dc3b7637eeb6bb566deb6b9945c2d51e9
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require 'arx/categories' require 'arx/cleaner' module Arx # Entity/model representing an arXiv paper's category. class Category include HappyMapper tag 'category' # @!method name # The abbreviated name of the category. # @return [String] attribute :name, Cleaner, parser: :clean, tag: 'term' # The full name of the category. # @see CATEGORIES # @return [String] def full_name CATEGORIES[term] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arx-0.2.0 | lib/arx/entities/category.rb |
arx-0.1.0 | lib/arx/entities/category.rb |