Sha256: e8f54be63ae889c345c23e269837187d0ac31e6709129aba7ed7847009bf32f2
Contents?: true
Size: 531 Bytes
Versions: 16
Compression:
Stored size: 531 Bytes
Contents
require 'active_support/concern' module Iqvoc module Configuration module Label extend ActiveSupport::Concern included do mattr_accessor :base_class_name self.base_class_name = 'Label::SKOS::Base' end module ClassMethods # Do not use the following method in models. This will probably cause a # loading loop (something like "expected file xyz to load ...") def base_class base_class_name.constantize end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems