Sha256: d6212b6e35959d4dde44e517bd384e3f8165d326a8cdab5384925461a86158a2
Contents?: true
Size: 662 Bytes
Versions: 13
Compression:
Stored size: 662 Bytes
Contents
require 'generators/helpers/file_helper' module HttpUtilities module Generators class HttpUtilitiesGenerator < Rails::Generators::Base include HttpUtilities::Generators::FileHelper namespace "http_utilities" source_root File.expand_path("../../templates", __FILE__) class_option :orm hook_for :orm desc "Copies an initializer, a .yml-file containing user-agents as well as a proxy model." #def copy_initializer # template "http_utilities.rb", "config/initializers/http_utilities.rb" unless file_exists?("config/initializers/http_utilities.rb") #end end end end
Version data entries
13 entries across 13 versions & 1 rubygems