Sha256: 816e02740a0109ace6716c73b9da3dc0cf0170d2255513a676a8db4c7850c177

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

require 'rails/generators/base'
require 'rails/generators/named_base'
module DataMigrate
  module Generators
    class InstallGenerator < Rails::Generators::Base #:nodoc:
      def self.source_root
         @_data_migrate_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'data_migrate', generator_name, 'templates'))
      end
    end

    class DataMigrationGenerator < Rails::Generators::NamedBase #:nodoc:
      def self.source_root
         @_data_migrate_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), generator_name, 'templates'))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_migrate-1.0.0 lib/generators/data_migrate.rb