Sha256: 8efa88d0991e6236232685a72bd606ffab6ccbc6d296a3c56a7129142259caad

Contents?: true

Size: 147 Bytes

Versions: 9

Compression:

Stored size: 147 Bytes

Contents

class <%= class_name %>
<% for attribute in attributes -%>
  generator_for :<%= attribute.name %>, <%= attribute.default.inspect %>
<% end -%>
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
hashrocket-hashrocket-terraformation-0.0.0 rails_generators/terramodel/templates/model_exemplar.rb.erb
hashrocket-terraformation-0.0.0 rails_generators/terramodel/templates/model_exemplar.rb.erb
hashrocket-terraformation-0.1.0 rails_generators/terramodel/templates/model_exemplar.rb.erb
hashrocket-terraformation-0.1.2 rails_generators/terramodel/templates/model_exemplar.rb.erb
terraformation-0.2.2 rails_generators/terramodel/templates/model_exemplar.rb.erb
terraformation-0.2.1 rails_generators/terramodel/templates/model_exemplar.rb.erb
terraformation-0.2.0 rails_generators/terramodel/templates/model_exemplar.rb.erb
terraformation-0.1.3 rails_generators/terramodel/templates/model_exemplar.rb.erb
terraformation-0.1.2 rails_generators/terramodel/templates/model_exemplar.rb.erb