Sha256: 72747f3c27b019b95b043bc069268f4eefafc45d96ff5f85ab0a265a8eba1a90

Contents?: true

Size: 248 Bytes

Versions: 6

Compression:

Stored size: 248 Bytes

Contents

class DomainsGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../templates', __FILE__)

  def create_initializer_file
    empty_directory "app/domains/#{file_name}"
    create_file "app/domains/#{file_name}/.keep"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ddd_domain-1.2.4 lib/generators/domains/domains_generator.rb
ddd_domain-1.3.0 lib/generators/domains/domains_generator.rb
ddd_domain-1.2.3 lib/generators/domains/domains_generator.rb
ddd_domain-1.2.2 lib/generators/domains/domains_generator.rb
ddd_domain-1.2.1 lib/generators/domains/domains_generator.rb
ddd_domain-1.2.0 lib/generators/domains/domains_generator.rb