Sha256: f0d9586cadb43056840e4d4963b6e6a3d0d887def56c162a3a1d1d63d1f58487
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
# -*- coding: utf-8 -*- require 'tengine/core' driver :driver20 do # イベントが発生したら:propertiesを指定してイベントを発火する on:event20_1 do puts "handler20_1" fire(:event20_2, :properties => {:foo => :bar, :baz => 1}) end on:event02_2 do puts "handler02_2" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tengine_core-1.2.2 | examples/uc20_fire_with_properties.rb~ |
tengine_core-1.2.1 | examples/uc20_fire_with_properties.rb~ |
tengine_core-1.2.0 | examples/uc20_fire_with_properties.rb~ |