Sha256: 66889b51f8159461d7b3c12a7c1892fd0ebd47efedf5826039472d4689b8f174

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

# lib/generators/credere/credere_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Credere
  class CredereGenerator < BaseGenerator
    def create_migration_file
      migration_template 'migration.rb', 'db/migrate/create_credere_tables.rb'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
credere-0.10.3 lib/generators/credere/credere_generator.rb
credere-0.10.2 lib/generators/credere/credere_generator.rb
credere-0.10.1 lib/generators/credere/credere_generator.rb