Sha256: 40f32eb4d2293266604412b6405f33b85ca1df2ad6ed6b2f82498dc64a17594c

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

module Ecm
  module Staff
    module Generators
      class InstallGenerator < Rails::Generators::Base
        desc "Generates the intializer"

        source_root File.expand_path('../templates', __FILE__) 
        
        def generate_intializer
          copy_file "ecm_staff.rb", "config/initializers/ecm_staff.rb"
        end   
      end
    end
  end
end        

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_staff-0.0.2.pre lib/generators/ecm/staff/install/install_generator.rb
ecm_staff-0.0.1.pre lib/generators/ecm/staff/install/install_generator.rb