Sha256: 67008620d534ceaac4b294bd41bfac01ece1fe24a651da1168b586a59e219425

Contents?: true

Size: 261 Bytes

Versions: 15

Compression:

Stored size: 261 Bytes

Contents

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

class Uc08IfBothAAndBOccurs
  include Tengine::Core::Driveable

  # イベントAとイベントBが発生したら処理を実行する
  on :event08_a & :event_08_b
  def event08
    puts "handler08"
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

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