Sha256: c9d1d004d3ad8e3420a8f4986a2c0430c4367472a726570a62535e19192e76b1

Contents?: true

Size: 339 Bytes

Versions: 15

Compression:

Stored size: 339 Bytes

Contents

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

# アクティベーション時にイベントドライバを有効な状態にするかどうかを
# :enabled_on_actibation オプションで指定できる。デフォルトはtrue。

driver :driver70, :enabled_on_activation => true do

  on:event70 do
    puts "handler70"
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

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