Sha256: 253f193b4739e1340184505a2b68019eae95afb96720e99ee226b806f9d1954b

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

require 'rails/generators/base'
require 'rails/generators/resource_helpers'

module C80Push
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def create_root_folder
      #   empty_directory 'app/helpers/c80_yax'
      end

      def copy_template_file
        template 'seeds/c80_push_02_fill_presets.rb',
                 File.join('db/seeds', 'c80_push_02_fill_presets.rb')
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
c80_push-0.1.0.11 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.10 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.8 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.7 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.6 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.5 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.4 lib/generators/c80_push/install_generator.rb
c80_push-0.1.0.3 lib/generators/c80_push/install_generator.rb