Sha256: 586afcf208025aee900db7d34fb5568256d51853f264faca5696e14cd99406c2
Contents?: true
Size: 370 Bytes
Versions: 4
Compression:
Stored size: 370 Bytes
Contents
require 'rails/version' require 'rails_generator' require 'rails_generator/scripts/generate' module Provisional class RailsApplication def initialize(path, template_path) Dir.chdir(path) Rails::Generator::Base.use_application_sources! Rails::Generator::Scripts::Generate.new.run(['.', '-m', template_path], :generator => 'app') end end end
Version data entries
4 entries across 4 versions & 1 rubygems