Sha256: 658fce372892ce22681d0eaf9dbbc64ce3c131a9771384e4ce7ff27225d79c44

Contents?: true

Size: 170 Bytes

Versions: 2

Compression:

Stored size: 170 Bytes

Contents

class <%= model_class_name %>
<% unless model_attributes.empty? -%>
  attr_accessor <%= model_attributes.map{|a| ":#{a.first}" }.compact.uniq.join(", ") %>
<% end -%>
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb-gen-0.9.2 merb_default_generators/model/templates/app/models/%model_file_name%.rb
merb-gen-0.9.3 merb_default_generators/model/templates/app/models/%model_file_name%.rb