Sha256: 3789980da5fc6ff2cb13038b25002cf2d3a4d6a5ad5bdd5e57e5b78a5d664d74
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 Bytes
Contents
<% containing_module_path = module_path[..-2] %> <% containing_module_path.each do |part| %> module <%= part %> <% end %> foobara_register_type :<%= Util.underscore(module_path.last) %>, :string, :downcase <% containing_module_path.size.times do %> end <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foobara-type-generator-0.0.4 | templates/src/type.rb.erb |
foobara-type-generator-0.0.3 | templates/src/type.rb.erb |