Sha256: d5a7bdd53b2ca211a06da8c5bdedb81df1e59d4385314e1b21056dd254a62c2d
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
class WorkflowStopManifest def self.populate_record(m, rule_name ,rule_class) %W( app/rules app/views/re_rule_definitions/#{rule_name} lib/tasks spec/lib/rules ).each do |dirname| m.directory dirname end %W( ).each do |filename| m.file filename, filename end m.template "app/rules/workflow_stop.rb", "app/rules/#{rule_name}.rb" m.template "app/views/re_rule_definitions/workflow_stop/_edit.html.erb", "app/views/re_rule_definitions/#{rule_name}/_edit.html.erb" m.template "app/views/re_rule_definitions/workflow_stop/_form.html.erb", "app/views/re_rule_definitions/#{rule_name}/_form.html.erb" m.template "app/views/re_rule_definitions/workflow_stop/_help.html.erb", "app/views/re_rule_definitions/#{rule_name}/_help.html.erb" m.template "app/views/re_rule_definitions/workflow_stop/_new.html.erb", "app/views/re_rule_definitions/#{rule_name}/_new.html.erb" m.template "spec/lib/rules/workflow_stop_spec.rb", "spec/lib/rules/#{rule_name}_spec.rb" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rules_engine_templates-0.0.3 | rails_generators/manifests/workflow_stop.rb |