Class: Classifoclc::Recommendations
- Inherits:
-
Object
- Object
- Classifoclc::Recommendations
- Defined in:
- lib/classifoclc/recommendations.rb
Instance Attribute Summary collapse
-
#ddc ⇒ Hash
Recommended Dewey Decimal classifications.
-
#fast ⇒ Hash
Recommended FAST subject headings.
-
#graphs ⇒ Hash
A hash of links to Google Charts graphs showing the proportion of libraries using which identifiers.
-
#lcc ⇒ Hash
Recommended Library of Congress classifications.
Instance Method Summary collapse
-
#initialize(node) ⇒ Recommendations
constructor
A new instance of Recommendations.
Constructor Details
#initialize(node) ⇒ Recommendations
Returns a new instance of Recommendations.
20 21 22 23 24 25 |
# File 'lib/classifoclc/recommendations.rb', line 20 def initialize(node) @graphs = load_graphs(node) @fast = load_fast(node) @ddc = load_classifications(node, 'ddc') @lcc = load_classifications(node, 'lcc') end |
Instance Attribute Details
#ddc ⇒ Hash
Recommended Dewey Decimal classifications
14 15 16 |
# File 'lib/classifoclc/recommendations.rb', line 14 def ddc @ddc end |
#fast ⇒ Hash
Recommended FAST subject headings
10 11 12 |
# File 'lib/classifoclc/recommendations.rb', line 10 def fast @fast end |
#graphs ⇒ Hash
A hash of links to Google Charts graphs showing the proportion of libraries using which identifiers
6 7 8 |
# File 'lib/classifoclc/recommendations.rb', line 6 def graphs @graphs end |
#lcc ⇒ Hash
Recommended Library of Congress classifications
18 19 20 |
# File 'lib/classifoclc/recommendations.rb', line 18 def lcc @lcc end |