Sha256: 86565ba468687ca779499b14e46a9928c3dde3c0d7d439144683b1332e1a87e0
Contents?: true
Size: 273 Bytes
Versions: 8
Compression:
Stored size: 273 Bytes
Contents
module GaEvents class Event < Struct.new(:category, :action, :label, :value) def initialize(category, action, label = nil, value = nil) super GaEvents::List << self end def to_s [category, action, label, value].join('|') end end end
Version data entries
8 entries across 8 versions & 1 rubygems