Sha256: dda022216f748e7f25a403ef10650c61cc8372bf4686d3341fc76cf3966c3104

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

require 'rails/generators'
require 'rails/generators/named_base'

module LinkToAction
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy LinkToAction configuration file"
      source_root File.expand_path('../templates', __FILE__)

      def copy_initializers
        copy_file 'link_to_action.rb', 'config/initializers/link_to_action.rb'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
link_to_action-0.2.0 lib/generators/link_to_action/install_generator.rb
link_to_action-0.1.3 lib/generators/link_to_action/install_generator.rb
link_to_action-0.1.2 lib/generators/link_to_action/install_generator.rb
link_to_action-0.1.1 lib/generators/link_to_action/install_generator.rb
link_to_action-0.1.0 lib/generators/link_to_action/install_generator.rb
link_to_action-0.0.5 lib/generators/link_to_action/install_generator.rb