Sha256: 196b15aae5289056e6f6905db565a6f242838c4560d9a3e1cc60dea5b865c49b

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

module Itsf
  module Services
    module Generators
      class InstallGenerator < Rails::Generators::Base
        desc 'Generates the initializer'

        source_root File.expand_path('../templates', __FILE__)

        def generate_initializer
          copy_file 'initializer.rb', 'config/initializers/itsf_services.rb'
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
itsf_services-0.3.1 lib/generators/itsf/services/install/install_generator.rb
itsf_services-0.3.0 lib/generators/itsf/services/install/install_generator.rb