Sha256: 8d8c3916a850393fcbd5d93187f962d89c34421703c13b3c777f16a4441a29a1

Contents?: true

Size: 287 Bytes

Versions: 12

Compression:

Stored size: 287 Bytes

Contents

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

lvar1 = "outside of driver"

driver :driver30 do

  lvar2 = "outside of handler"

  # イベントに対応する処理の実行する
  on:event30 do
    puts lvar1 # => outside of driver
    puts lvar2 # => outside of handler
  end

end

Version data entries

12 entries across 3 versions & 1 rubygems

Version Path
tengine_core-1.2.2 examples/uc33_statics.rb~
tengine_core-1.2.2 examples/uc32_class_variables.rb~
tengine_core-1.2.2 examples/uc30_local_variables.rb~
tengine_core-1.2.2 examples/uc31_instance_variables.rb~
tengine_core-1.2.1 examples/uc32_class_variables.rb~
tengine_core-1.2.1 examples/uc30_local_variables.rb~
tengine_core-1.2.1 examples/uc31_instance_variables.rb~
tengine_core-1.2.1 examples/uc33_statics.rb~
tengine_core-1.2.0 examples/uc30_local_variables.rb~
tengine_core-1.2.0 examples/uc33_statics.rb~
tengine_core-1.2.0 examples/uc32_class_variables.rb~
tengine_core-1.2.0 examples/uc31_instance_variables.rb~