Sha256: 5b46a0ada900e37c633a0b52f4733204313d61c33be54f841e31ba9928910f78
Contents?: true
Size: 333 Bytes
Versions: 4
Compression:
Stored size: 333 Bytes
Contents
# -*- coding: utf-8 -*- require 'tengine/core' driver :driver22 do # イベントが発生したら:source_nameを指定してイベントを発火する on:event22_1 do puts "handler22_1" fire(:event22_2, :source_name => "test_source01") end on:event22_2 do puts event.source_name # test_source01 end end
Version data entries
4 entries across 4 versions & 1 rubygems