Sha256: 7be265f0533388b555890aacf316e9dd1a7c129102828bed410df6d45d8126f3
Contents?: true
Size: 323 Bytes
Versions: 4
Compression:
Stored size: 323 Bytes
Contents
<%- enums.each_with_index do |enum, index| -%> enum class <%= enum[:class_name] %>(val key: String) { <%- enum[:values].each_with_index do |v, index| -%> <%= v[:name] %>("<%= v[:value] %>")<%= index == enum[:values].count - 1 ? ";" : "," %> <%- end -%> } <%- unless index == enums.count - 1 -%> <%- end -%> <%- end -%>
Version data entries
4 entries across 4 versions & 1 rubygems