Sha256: 17150c791b354eb4c8cf82eaff57bfbc56a1bc7cc733b22670441957eb64bcb6

Contents?: true

Size: 405 Bytes

Versions: 15

Compression:

Stored size: 405 Bytes

Contents

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

# sessionメソッドは、ドライバ内でのみ使用できるので、ドライバ外で使用した場合例外がraiseされる。
# loadでもbindでも途中で失敗し、Tengineコアのプロセスは終了する

session # SyntaxErrorなどではなく、Tengine::Core::DslErrorがraiseされる

driver :driver63 do

  on:event63 do
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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