Module: FactoryCreateMethod

Included in:
MysqlBackup::Entity::Identifier, MysqlBackup::Librarian::Backup
Defined in:
lib/mysql_backup/utilities/factory_create_method.rb

Defined Under Namespace

Modules: ClassMethods Classes: NoMatchingFactory

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/mysql_backup/utilities/factory_create_method.rb', line 2

def self.included target
  target.class_eval do
    include NamedArguments::MethodExtensions
    extend ClassMethods
    define_method_with_value :factory_create_base_class, target
  end
end