Sha256: 882bce6c9a5e612492c1b54ee964c6770343e30f2b3c7d9816d6963830dc8b72

Contents?: true

Size: 335 Bytes

Versions: 15

Compression:

Stored size: 335 Bytes

Contents

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

class << Tengine
  attr_accessor :callback_for_test
end

driver :connection_test_driver do
  on :foo do
    Tengine.callback_for_test.call(:foo) if Tengine.callback_for_test
    fire :bar
  end
  on :bar do
    Tengine.callback_for_test.call(:bar) if Tengine.callback_for_test
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tengine_core-1.2.2 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-1.2.1 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-1.2.0 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-1.1.0 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.39 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.38 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.37 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.36 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.35 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.34 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.33 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.32 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.31 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.30 lib/tengine/core/connection_test/fire_bar_on_foo.rb
tengine_core-0.5.28 lib/tengine/core/connection_test/fire_bar_on_foo.rb