Sha256: fc105090c0e2600bcd6106129dd7fede6ac019a71add231fa785f71adcbf4fcb
Contents?: true
Size: 788 Bytes
Versions: 5
Compression:
Stored size: 788 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", "unit", "#{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", "unit", "#{param(:name).singular.underscore}_spec.rb") %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems