Sha256: 211adc3d80c737aab8f540e02f834be616b74ecd718549524677404d9b668275
Contents?: true
Size: 792 Bytes
Versions: 10
Compression:
Stored size: 792 Bytes
Contents
models_directory: type: directory output_path: <%= File.join("app", "models") %> model_template: type: file template_path: <%= File.join(templates_directory_path, "model.rb.template") %> output_path: <%= File.join("app", "models", "#{param(:name).singular.underscore}.rb") %> <% if testing_framework == "test_case" %> test_template: type: file template_path: <%= File.join(templates_directory_path, "test.rb.template") %> output_path: <%= File.join("test", "models", "#{param(:name).singular.underscore}_test.rb") %> <% elsif testing_framework == "rspec" %> test_template: type: file template_path: <%= File.join(templates_directory_path, "rspec.rb.template") %> output_path: <%= File.join("test", "models", "#{param(:name).singular.underscore}_spec.rb") %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems