Sha256: d0dc0cf6950d7bb2087465d57aaada0a82e58090ac9b3f6721d3db96551052e4
Contents?: true
Size: 554 Bytes
Versions: 5
Compression:
Stored size: 554 Bytes
Contents
require 'active_support/concern' module Iqvoc module Configuration module Collection extend ActiveSupport::Concern included do mattr_accessor :base_class_name, :member_class_name self.base_class_name = 'Collection::SKOS::Unordered' self.member_class_name = 'Collection::Member::SKOS::Base' end module ClassMethods def base_class base_class_name.constantize end def member_class member_class_name.constantize end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems