module Iqvoc::XLLabel

Public Class Methods

additional_association_classes() click to toggle source
# File lib/iqvoc/xllabel.rb, line 50
def self.additional_association_classes
  additional_association_class_names.keys.each_with_object({}) do |class_name, hash|
    hash[class_name.constantize] = additional_association_class_names[class_name]
  end
end
base_class() click to toggle source

Do not use the following method in models. This will propably cause a loading loop (something like “expected file xyz to load …”)

# File lib/iqvoc/xllabel.rb, line 34
def self.base_class
  base_class_name.constantize
end
change_note_class() click to toggle source
# File lib/iqvoc/xllabel.rb, line 46
def self.change_note_class
  change_note_class_name.constantize
end
note_classes() click to toggle source
# File lib/iqvoc/xllabel.rb, line 42
def self.note_classes
  note_class_names.map(&:constantize)
end
relation_classes() click to toggle source
# File lib/iqvoc/xllabel.rb, line 38
def self.relation_classes
  relation_class_names.map(&:constantize)
end