Sha256: c76eb810d897af00ab99e38f4884cc5cb96a175c17f7f18b4ab0af957ed248fc
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
class RulesViewLayoutManifest def self.populate_record(m, rule_name) %W( ).each do |dirname| m.empty_directory dirname end %W( ).each do |filename| m.copy_file filename, filename end m.template "app/views/layouts/rules_view_layout.html.erb", "app/views/layouts/#{rule_name}.html.erb" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rules_view-0.0.3 | generators/manifests/rules_view_layout.rb |
rules_view-0.0.2 | generators/manifests/rules_view_layout.rb |