Sha256: bb592390b0b24f642c9cc3d40cafcf70d20ce22a03b0ad013dd96527c896bf11
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
# frozen_string_literal: true module ActiveTransaction module Generators # This class is responsible for creating the initial files in your app folder class InstallGenerator < Rails::Generators::Base source_root File.expand_path("templates", __dir__) def create_directories empty_directory "app/transactions" empty_directory "spec/transactions" empty_directory "app/contracts" empty_directory "spec/contracts" create_file "app/transactions/.keep" create_file "spec/transactions/.keep" create_file "app/contracts/.keep" create_file "spec/contracts/.keep" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_transaction-0.1.0 | lib/generators/active_transaction/install/install_generator.rb |