Sha256: e6fa7c31f065ec6147075710b9c6f8f97dcd179abd6a59a39169b48054ad8bd9

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

require 'rails/generators'

module Moneytree
  module Generators
    class BaseGenerator < Rails::Generators::Base
      source_root File.join(__dir__, 'templates')

      def copy_templates
        template 'base_store_initializer.rb', 'config/initializers/moneytree.rb'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moneytree-rails-0.1.0 lib/generators/moneytree/base_generator.rb