Sha256: 4e188442caaf58c295268001825592467168ca77998abec04a2cee85ff496b1a

Contents?: true

Size: 384 Bytes

Versions: 11

Compression:

Stored size: 384 Bytes

Contents

sealed class AnalyticsEvent(val name: String, var dictionary: Map<String,String> = emptyMap()) {
  <%- for @event in @events -%>
    <%- if @event.params.nil? -%>
    class <%= @event.name %> : AnalyticsEvent("<%= @event.name %>")
    <%- else -%>
    class <%= @event.name %> : AnalyticsEvent("<%= @event.name %>", <%= @event.params_for(:android) %>)
    <%- end -%>
  <%- end -%>
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ai_tagger-0.1.10 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.9 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.8 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.7 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.6 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.5 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.4 lib/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.3 data/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.2 data/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.1 data/templates/AnalyticsEvent.kt.erb
ai_tagger-0.1.0 data/templates/AnalyticsEvent.kt.erb