Sha256: 25c1d8f5c60cca4a07aa7073e82f33b91b55d13e5d26330fe908398dcd1aa781

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require 'rails/generators/base'

module SimpleHubspot
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)
      desc "This generator creates an initializer file at config/initializers"
      class_option :orm
      def copy_initializer
        copy_file "simple_hubspot.rb", "config/initializers/simple_hubspot.rb"
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_hubspot-0.1.5 lib/generators/simple_hubspot/install_generator.rb
simple_hubspot-0.1.3 lib/generators/simple_hubspot/install_generator.rb