Sha256: 4819b98310c59913d3880d59cab404180fd19d71d2579a6d417547eacee87a22

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

module Ecm
  module Youtube
    module Generators
      class InstallGenerator < Rails::Generators::Base
        desc 'Nothing to do at the moment'

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

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

        # def generate_routes
        #   inject_into_file 'config/routes.rb', before: "\nend" do
        #     File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
        #   end
        # end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_youtube-1.0.1 lib/generators/ecm/youtube/install/install_generator.rb
ecm_youtube-1.0.0 lib/generators/ecm/youtube/install/install_generator.rb