Sha256: 0b60a6ec69f5eebc7dba26fcf70170fd94e96b0536e82dd46ce6403e836a9dab
Contents?: true
Size: 431 Bytes
Versions: 26
Compression:
Stored size: 431 Bytes
Contents
module Cms # A generic generator for installing BrowserCMS modules into a project. This will do the following: # # 1. Add the Gem to your Gemfile # 2. Call the name_of_module:install generator for that gem. class InstallGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def add_and_install_module gem name generate("#{name}:install") end end end
Version data entries
26 entries across 26 versions & 2 rubygems