Sha256: 4476ae35a7b7ea1159aa6c3a143a8a280339a9b0ad112af41e8fe9dd694ef240

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

class BlacklistWordManifest
  def self.populate_record(m)

    %w(
      app/rules
      app/views/re_rule_definitions/blacklist_word
    ).each do |dirname|
      m.directory dirname
    end

    %w(
      app/rules/blacklist_word.rb
      app/views/re_rule_definitions/blacklist_word/_pipeline.html.erb
      app/views/re_rule_definitions/blacklist_word/_title.html.erb
      app/views/re_rule_definitions/blacklist_word/_new.html.erb
      app/views/re_rule_definitions/blacklist_word/_help.html.erb
      app/views/re_rule_definitions/blacklist_word/_word.html.erb
      app/views/re_rule_definitions/blacklist_word/_script.html.erb
      app/views/re_rule_definitions/blacklist_word/_edit.html.erb
      app/views/re_rule_definitions/blacklist_word/_words.html.erb
    ).each do |filename|
      m.file filename, filename
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.0.1 rails_generators/blacklist_word_manifest.rb