Sha256: 954ae37d44e3edaf223b056f9bc1a84ef5d38a300fdf5bacfc9cc0b079083d50

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

module Multiverse
  module Generators
    module ModelGenerator
      def parent_class_name
        Multiverse.parent_class_name
      end
    end

    module Migration
      def db_migrate_path
        Multiverse.migrate_path
      end
    end

    module MigrationTemplate
      def migration_template(source, destination, config = {})
        super(source, destination.sub("db/migrate", Multiverse.migrate_path), config)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multiverse-0.2.0 lib/multiverse/generators.rb