Sha256: 57aa60605d32c9139775c60a90673795466ff31be5c7089d6916613ee839c1a8

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

require 'rails/generators'

module Makers
  module Generators
    class InstallGenerator < Rails::Generators::Base

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

      def create_definitions_file
        template 'definitions.rb', "#{Makers.directory}/makers.rb"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
makers-5.1.0 lib/generators/makers/install/install_generator.rb