Module: ActiveRecord::Dbt::RequiredMethods
- Included in:
- Column::DataTestable::AcceptedValuesDataTestable, Column::DataTestable::NotNullDataTestable, Column::DataTestable::RelationshipsDataTestable, Column::DataTestable::UniqueDataTestable, Configuration::DwhPlatform, DataType::Mapper, DbtPackage::DbtUtils::Table::DataTestable::UniqueCombinationOfColumnsDataTestable, DbtPackage::Dbterd::Column::DataTestable::RelationshipsMetaRelationshipType, I18nWrapper::Translate
- Defined in:
- lib/active_record/dbt/required_methods.rb
Defined Under Namespace
Classes: RequiredImplementationMissingError
Instance Method Summary collapse
Instance Method Details
#define_required_methods(*methods) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/active_record/dbt/required_methods.rb', line 6 def define_required_methods(*methods) methods.each do |method_name| define_method(method_name) do raise RequiredImplementationMissingError, "You must implement #{self.class}##{__method__}" end end end |