Sha256: 049643593280d4f7dd35abbebe8b5d40669931adf3dd639ba79455e4d9920b07

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

class LayoutManifest
  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_engine_layout.html.erb",  "app/views/layouts/#{rule_name}.html.erb"

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.3 generators/manifests/layout.rb
rules_engine-0.3.2 generators/manifests/layout.rb
rules_engine-0.3.1 generators/manifests/layout.rb
rules_engine-0.3.0 generators/manifests/layout.rb