Sha256: bec154bc2eab32fe548ae00a8750a247e45299121aab8e4213960f508e293bd2

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

##
# Creates default directories structure
class PgObjects::InstallGenerator < Rails::Generators::Base
  desc 'Creates directories structure in `db` directory of the Rails application and initializes configuration files'
  def create_directories
    empty_directory 'db/objects'
    empty_directory 'db/objects/before'
    empty_directory 'db/objects/after'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_objects-1.4.0 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.3.3 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.3.2 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.3.1 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.3.0 lib/generators/pg_objects/install/install_generator.rb