Sha256: 4cf1837a6dd9edaa5201203eb1adb0f9fc95ef72c5eed3da43fb711477cdd129
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
require 'rails/generators' require 'rails/generators/migration' require 'generators/migration_helper' module Netzke module Generators class CoreGenerator < Rails::Generators::Base include ::MigrationHelper def execute migration_template 'create_netzke_preferences.rb', 'db/migrate/create_netzke_preferences.rb' end def self.source_root File.join(gem_root, 'templates', 'core') end def self.gem_root File.expand_path("../../../../", __FILE__) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.3 | lib/generators/netzke/core_generator.rb |