Sha256: b2fd9652870c29eeea3bb94cd49c0ba963e088e9df50268bf643999388aaaf9f
Contents?: true
Size: 244 Bytes
Versions: 6
Compression:
Stored size: 244 Bytes
Contents
<%- enums.each_with_index do |enum, index| -%> enum <%= enum[:name] %>: String { <%- enum[:values].each do |v| -%> case <%= v[:case_name] %> = "<%= v[:value ] %>" <%- end -%> } <%- unless index == enums.count - 1 -%> <%- end -%> <%- end -%>
Version data entries
6 entries across 6 versions & 1 rubygems