lib/MESH/heading.rb in mesh-medical-subject-headings-2.0.6 vs lib/MESH/heading.rb in mesh-medical-subject-headings-2.1.0

- old
+ new

@@ -1,10 +1,10 @@ module MESH class Heading include Comparable - attr_accessor :unique_id, :tree_numbers, :roots, :parents, :children, :useful, :descriptor_class, :default_locale + attr_accessor :unique_id, :tree_numbers, :roots, :parents, :children, :useful, :descriptor_class, :default_locale, :semantic_types, :wikipedia_links attr_reader :linkified_summary def <=> other self.unique_id <=> other.unique_id end @@ -105,16 +105,18 @@ def initialize(tree) @tree = tree @useful = true @tree_numbers = [] + @semantic_types = [] @roots = [] @parents = [] @children = [] @entries = {} @original_heading = {} @natural_language_name = {} @summary = {} + @wikipedia_links = [] end end end