Sha256: 28699c7f3c03c42375abd6f2e184c131df3f0411a299b8d4040580adfce02364

Contents?: true

Size: 261 Bytes

Versions: 15

Compression:

Stored size: 261 Bytes

Contents

# -*- coding: utf-8 -*-
require 'tengine/core'

driver :driver02 do

  # イベントが発生したら新たなイベントを発火する
  on:event02_1 do
    puts "handler02_1"
    fire(:event02_2)
  end

  on:event02_2 do
    puts "handler02_2"
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tengine_core-1.2.2 examples/uc02_fire_another_event.rb
tengine_core-1.2.1 examples/uc02_fire_another_event.rb
tengine_core-1.2.0 examples/uc02_fire_another_event.rb
tengine_core-1.1.0 examples/uc02_fire_another_event.rb
tengine_core-0.5.39 examples/uc02_fire_another_event.rb
tengine_core-0.5.38 examples/uc02_fire_another_event.rb
tengine_core-0.5.37 examples/uc02_fire_another_event.rb
tengine_core-0.5.36 examples/uc02_fire_another_event.rb
tengine_core-0.5.35 examples/uc02_fire_another_event.rb
tengine_core-0.5.34 examples/uc02_fire_another_event.rb
tengine_core-0.5.33 examples/uc02_fire_another_event.rb
tengine_core-0.5.32 examples/uc02_fire_another_event.rb
tengine_core-0.5.31 examples/uc02_fire_another_event.rb
tengine_core-0.5.30 examples/uc02_fire_another_event.rb
tengine_core-0.5.28 examples/uc02_fire_another_event.rb