Class: Arx::Category

Inherits:
Object
  • Object
show all
Includes:
Inspector, HappyMapper
Defined in:
lib/arx/entities/category.rb

Overview

Entity/model representing an arXiv paper’s category.

Instance Method Summary collapse

Methods included from Inspector

included, #inspect, inspected

Instance Method Details

#full_nameString

The full name of the category.

Returns:

  • (String)

See Also:



18
19
20
# File 'lib/arx/entities/category.rb', line 18

def full_name
  CATEGORIES[name]
end

#nameString

The abbreviated name of the category.

Returns:

  • (String)


13
# File 'lib/arx/entities/category.rb', line 13

attribute :name, Cleaner, parser: :clean, tag: 'term'