lib/polyphony/core/debug.rb
# Converts an event (expressed as an array) to a hash.
#
# @param e [Array] event as emitted by the backend
# @return [Hash] event hash
Converts an event (expressed as an array) to a hash.
Converts an event ( expressed as an array ) to a hash .
def trace_event_info(e)
        {
          stamp: Time.now,
          event: e[0]
        }.merge(
          send(:"event_props_#{e[0]}", e)
        )
      end
def trace_event_info ( e ) { stamp : Time . now , event : e [ 0 ] } . merge ( send ( :" event_props_ #{ e [ 0 ] } " , e ) ) end
Converts an event (expressed as an array) to a hash.
Converts an event ( expressed as an array ) to a hash .
None
Hash
e
event as emitted by the backend
event as emitted by the backend