Sha256: 82606657a46d2af9f0d14c18db6d0f75241aa6337e2b056fd2383054c5651c34
Contents?: true
Size: 568 Bytes
Versions: 7
Compression:
Stored size: 568 Bytes
Contents
module Canmoia module Tasks require 'rails/generators' class Install < Rails::Generators::Base # Sample installation task # def copy_initializer_file # template 'canmoia.rb', 'config/initializers/canmoia.rb' # end private def self.add_templates_path! current_directory = File.dirname(__FILE__) source_paths << File.join(current_directory, 'templates') source_paths << File.expand_path(File.join current_directory, '..', '..', '..') end add_templates_path! end end end
Version data entries
7 entries across 7 versions & 1 rubygems