lib/iqvoc/configuration/concept.rb in iqvoc-4.5.2 vs lib/iqvoc/configuration/concept.rb in iqvoc-4.6.0
- old
+ new
@@ -125,9 +125,16 @@
def match_classes
match_class_names.map(&:constantize)
end
+ def reverse_match_class_names
+ match_class_names.inject({}) do |result, element|
+ result[element] = element.parameterize.underscore
+ result
+ end
+ end
+
def notation_classes
notation_class_names.map(&:constantize)
end
def additional_association_classes