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