12345678910111213141516 |
- # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- class Sequencer::Unit::Common::ModelClass::Base < Sequencer::Unit::Common::Provider::Attribute
- provides :model_class
- private
- def model_class
- @model_class ||= class_name.constantize
- end
- def class_name
- self.class.name.sub('Sequencer::Unit::Common::ModelClass', '')
- end
- end
|