Sha256: cf970d46fef2c9a1fb77d813a331ad312bd29051087fea71ba13dd7b6a462153

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

module Passwd::Generators
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path("templates", __dir__)

    desc "Create Passwd config file"
    def create_config_file
      copy_file "passwd.rb", "config/initializers/passwd.rb"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
passwd-0.4.0 lib/generators/passwd/install/install_generator.rb
passwd-0.3.0 lib/generators/passwd/install/install_generator.rb