Sha256: 7a31d9cd9674c734a012fdf09cb7017a5dc871b0d7971da7d3d0fcbd9dbc3d1c

Contents?: true

Size: 202 Bytes

Versions: 4

Compression:

Stored size: 202 Bytes

Contents

enum class <%= class_name %>(val key: String) {
	<%- events.each_with_index do |event, index| -%>
	<%= event[:name] %>("<%= event[:value] %>")<%= index == events.count - 1 ? ";" : "," %>
	<%- end -%>
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
evva-0.4.3 lib/evva/templates/kotlin/event_enum.kt
evva-0.4.2 lib/evva/templates/kotlin/event_enum.kt
evva-0.4.1 lib/evva/templates/kotlin/event_enum.kt
evva-0.4.0 lib/evva/templates/kotlin/event_enum.kt