Sha256: 9bd2fde94806bd83046f0447f13065d675b48c97c02542af42a44efe93286a09

Contents?: true

Size: 345 Bytes

Versions: 15

Compression:

Stored size: 345 Bytes

Contents

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

class Uc71DriverDisabledOnActivation
  include Tengine::Core::Driveable
  include Tengine::Core::Driveable::ByDsl

  self.singleton_class.options = { :enabled_on_activation => false }

  # イベントに対応する処理の実行する
  on:event71
  def event71
    puts "handler71"
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

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