Sha256: 929aa79839539d29a31f0c403dc0f16a88af7bd8ea767ab5d869680ddfa3a027

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

class BannedWordsGenerator < Rails::Generators::Base
  source_root File.expand_path("../templates", __FILE__)
 
  def copy_banned_words_yaml_file  	
    copy_file "banned_words.yml", "lib/banned_words.yml"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
banned_words-0.1.1 lib/rails/generators/banned_words_generator.rb
banned_words-0.1.0 lib/rails/generators/banned_words_generator.rb