isimud 1.3.9 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.yardoc/checksums +0 -15
  5. data/.yardoc/object_types +0 -0
  6. data/.yardoc/objects/root.dat +0 -0
  7. data/Gemfile +2 -2
  8. data/Gemfile.lock +17 -13
  9. data/LICENSE.txt +1 -1
  10. data/README.md +98 -62
  11. data/Rakefile +1 -1
  12. data/checksum/isimud-1.4.0.gem.sha512 +1 -0
  13. data/doc/Isimud.html +118 -138
  14. data/doc/Isimud/BunnyClient.html +2 -2
  15. data/doc/Isimud/Client.html +2 -2
  16. data/doc/Isimud/Event.html +2 -2
  17. data/doc/Isimud/EventListener.html +208 -88
  18. data/doc/Isimud/EventObserver.html +96 -31
  19. data/doc/Isimud/EventObserver/ClassMethods.html +14 -14
  20. data/doc/Isimud/Generators.html +2 -2
  21. data/doc/Isimud/Logging.html +2 -2
  22. data/doc/Isimud/ModelWatcher.html +2 -2
  23. data/doc/Isimud/ModelWatcher/ClassMethods.html +2 -2
  24. data/doc/Isimud/Railtie.html +2 -2
  25. data/doc/Isimud/TestClient.html +2 -2
  26. data/doc/Isimud/TestClient/Queue.html +74 -2
  27. data/doc/_index.html +2 -195
  28. data/doc/class_list.html +1 -1
  29. data/doc/file.LICENSE.html +3 -3
  30. data/doc/file.README.html +157 -65
  31. data/doc/index.html +157 -65
  32. data/doc/method_list.html +0 -732
  33. data/doc/top-level-namespace.html +2 -12
  34. data/lib/isimud.rb +22 -17
  35. data/lib/isimud/bunny_client.rb +12 -10
  36. data/lib/isimud/client.rb +10 -1
  37. data/lib/isimud/event_listener.rb +6 -6
  38. data/lib/isimud/test_client.rb +12 -12
  39. data/lib/isimud/version.rb +1 -1
  40. data/release +1 -1
  41. data/spec/isimud/bunny_client_spec.rb +28 -27
  42. data/spec/isimud/client_spec.rb +50 -5
  43. metadata +3 -4
  44. metadata.gz.sig +0 -0
  45. data/doc/Isimud/Generators/ConfigGenerator.html +0 -192
  46. data/doc/Isimud/Generators/InitializerGenerator.html +0 -192
@@ -1698,9 +1698,9 @@ be called.</code></pre>
1698
1698
  </div>
1699
1699
 
1700
1700
  <div id="footer">
1701
- Generated on Mon Jan 18 17:07:52 2016 by
1701
+ Generated on Tue Aug 23 17:34:23 2016 by
1702
1702
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1703
- 0.8.7.6 (ruby-2.2.3).
1703
+ 0.8.7.6 (ruby-2.3.0).
1704
1704
  </div>
1705
1705
 
1706
1706
  </body>
@@ -1021,9 +1021,9 @@ for instance.</p>
1021
1021
  </div>
1022
1022
 
1023
1023
  <div id="footer">
1024
- Generated on Mon Jan 18 17:07:52 2016 by
1024
+ Generated on Tue Aug 23 17:34:23 2016 by
1025
1025
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1026
- 0.8.7.6 (ruby-2.2.3).
1026
+ 0.8.7.6 (ruby-2.3.0).
1027
1027
  </div>
1028
1028
 
1029
1029
  </body>
@@ -1607,9 +1607,9 @@ based on the class and ID of the object.</p>
1607
1607
  </div>
1608
1608
 
1609
1609
  <div id="footer">
1610
- Generated on Mon Jan 18 17:07:52 2016 by
1610
+ Generated on Tue Aug 23 17:34:23 2016 by
1611
1611
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1612
- 0.8.7.6 (ruby-2.2.3).
1612
+ 0.8.7.6 (ruby-2.3.0).
1613
1613
  </div>
1614
1614
 
1615
1615
  </body>
@@ -201,6 +201,21 @@ closed, and queues are reinitialized.</p>
201
201
  </dt>
202
202
  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>models</span><span class='tstring_end'>&#39;</span></span></pre></dd>
203
203
 
204
+ <dt id="STATUS_INITIALIZE-constant" class="">STATUS_INITIALIZE =
205
+
206
+ </dt>
207
+ <dd><pre class="code"><span class='symbol'>:initialize</span></pre></dd>
208
+
209
+ <dt id="STATUS_RUNNING-constant" class="">STATUS_RUNNING =
210
+
211
+ </dt>
212
+ <dd><pre class="code"><span class='symbol'>:running</span></pre></dd>
213
+
214
+ <dt id="STATUS_SHUTDOWN-constant" class="">STATUS_SHUTDOWN =
215
+
216
+ </dt>
217
+ <dd><pre class="code"><span class='symbol'>:shutdown</span></pre></dd>
218
+
204
219
  </dl>
205
220
 
206
221
 
@@ -213,7 +228,7 @@ closed, and queues are reinitialized.</p>
213
228
  <li class="public ">
214
229
  <span class="summary_signature">
215
230
 
216
- <a href="#error_count-instance_method" title="#error_count (instance method)">- (Integer) <strong>error_count</strong> </a>
231
+ <a href="#error_count-instance_method" title="#error_count (instance method)">- (Object) <strong>error_count</strong> </a>
217
232
 
218
233
 
219
234
 
@@ -233,8 +248,7 @@ closed, and queues are reinitialized.</p>
233
248
 
234
249
 
235
250
  <span class="summary_desc"><div class='inline'>
236
- <p>Count of errors (uncaught exceptions) that have occurred in the current
237
- error interval.</p>
251
+ <p>Returns the value of attribute error_count.</p>
238
252
  </div></span>
239
253
 
240
254
  </li>
@@ -417,7 +431,7 @@ error interval.</p>
417
431
  <li class="public ">
418
432
  <span class="summary_signature">
419
433
 
420
- <a href="#running-instance_method" title="#running (instance method)">- (Object) <strong>running</strong> </a>
434
+ <a href="#status-instance_method" title="#status (instance method)">- (Object) <strong>status</strong> </a>
421
435
 
422
436
 
423
437
 
@@ -437,7 +451,7 @@ error interval.</p>
437
451
 
438
452
 
439
453
  <span class="summary_desc"><div class='inline'>
440
- <p>Returns the value of attribute running.</p>
454
+ <p>Returns the value of attribute status.</p>
441
455
  </div></span>
442
456
 
443
457
  </li>
@@ -477,6 +491,50 @@ error interval.</p>
477
491
  <p>Hook for setting up custom queues in your application.</p>
478
492
  </div></span>
479
493
 
494
+ </li>
495
+
496
+
497
+ <li class="public ">
498
+ <span class="summary_signature">
499
+
500
+ <a href="#bind_queues-instance_method" title="#bind_queues (instance method)">- (Object) <strong>bind_queues</strong> </a>
501
+
502
+
503
+
504
+ </span>
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+ <span class="summary_desc"><div class='inline'></div></span>
515
+
516
+ </li>
517
+
518
+
519
+ <li class="public ">
520
+ <span class="summary_signature">
521
+
522
+ <a href="#has_observer%3F-instance_method" title="#has_observer? (instance method)">- (Boolean) <strong>has_observer?</strong>(observer) </a>
523
+
524
+
525
+
526
+ </span>
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+ <span class="summary_desc"><div class='inline'></div></span>
537
+
480
538
  </li>
481
539
 
482
540
 
@@ -713,24 +771,24 @@ update, and destroy messages</p>
713
771
 
714
772
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
715
773
  <span class='id identifier rubyid_default_options'>default_options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
716
- <span class='label'>error_limit:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_listener_error_limit'>listener_error_limit</span> <span class='op'>||</span> <span class='const'>DEFAULT_ERROR_LIMIT</span><span class='comma'>,</span>
717
- <span class='label'>error_interval:</span> <span class='const'>DEFAULT_ERROR_INTERVAL</span><span class='comma'>,</span>
718
- <span class='label'>events_exchange:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_events_exchange'>events_exchange</span> <span class='op'>||</span> <span class='const'>DEFAULT_EVENTS_EXCHANGE</span><span class='comma'>,</span>
719
- <span class='label'>models_exchange:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_model_watcher_exchange'>model_watcher_exchange</span> <span class='op'>||</span> <span class='const'>DEFAULT_MODELS_EXCHANGE</span><span class='comma'>,</span>
720
- <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parent_name'>parent_name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>-listener</span><span class='tstring_end'>&quot;</span></span>
774
+ <span class='label'>error_limit:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_listener_error_limit'>listener_error_limit</span> <span class='op'>||</span> <span class='const'>DEFAULT_ERROR_LIMIT</span><span class='comma'>,</span>
775
+ <span class='label'>error_interval:</span> <span class='const'>DEFAULT_ERROR_INTERVAL</span><span class='comma'>,</span>
776
+ <span class='label'>events_exchange:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_events_exchange'>events_exchange</span> <span class='op'>||</span> <span class='const'>DEFAULT_EVENTS_EXCHANGE</span><span class='comma'>,</span>
777
+ <span class='label'>models_exchange:</span> <span class='const'>Isimud</span><span class='period'>.</span><span class='id identifier rubyid_model_watcher_exchange'>model_watcher_exchange</span> <span class='op'>||</span> <span class='const'>DEFAULT_MODELS_EXCHANGE</span><span class='comma'>,</span>
778
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parent_name'>parent_name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>-listener</span><span class='tstring_end'>&quot;</span></span>
721
779
  <span class='rbrace'>}</span>
722
780
  <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_reverse_merge!'>reverse_merge!</span><span class='lparen'>(</span><span class='id identifier rubyid_default_options'>default_options</span><span class='rparen'>)</span>
723
- <span class='ivar'>@error_count</span> <span class='op'>=</span> <span class='int'>0</span>
724
- <span class='ivar'>@observers</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
725
- <span class='ivar'>@observed_models</span> <span class='op'>=</span> <span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
726
- <span class='ivar'>@error_limit</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:error_limit</span><span class='rbracket'>]</span>
727
- <span class='ivar'>@error_interval</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:error_interval</span><span class='rbracket'>]</span>
728
- <span class='ivar'>@events_exchange</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:events_exchange</span><span class='rbracket'>]</span>
729
- <span class='ivar'>@models_exchange</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:models_exchange</span><span class='rbracket'>]</span>
730
- <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span>
731
- <span class='ivar'>@observer_mutex</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
732
- <span class='ivar'>@error_counter_mutex</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
733
- <span class='ivar'>@running</span> <span class='op'>=</span> <span class='kw'>false</span>
781
+ <span class='ivar'>@error_count</span> <span class='op'>=</span> <span class='int'>0</span>
782
+ <span class='ivar'>@observers</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
783
+ <span class='ivar'>@observed_models</span> <span class='op'>=</span> <span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
784
+ <span class='ivar'>@error_limit</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:error_limit</span><span class='rbracket'>]</span>
785
+ <span class='ivar'>@error_interval</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:error_interval</span><span class='rbracket'>]</span>
786
+ <span class='ivar'>@events_exchange</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:events_exchange</span><span class='rbracket'>]</span>
787
+ <span class='ivar'>@models_exchange</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:models_exchange</span><span class='rbracket'>]</span>
788
+ <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span>
789
+ <span class='ivar'>@observer_mutex</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
790
+ <span class='ivar'>@error_counter_mutex</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
791
+ <span class='ivar'>@status</span> <span class='op'>=</span> <span class='const'>STATUS_INITIALIZE</span>
734
792
  <span class='kw'>end</span></pre>
735
793
  </td>
736
794
  </tr>
@@ -747,7 +805,7 @@ update, and destroy messages</p>
747
805
  <div class="method_details first">
748
806
  <h3 class="signature first" id="error_count-instance_method">
749
807
 
750
- - (<tt>Integer</tt>) <strong>error_count</strong> <span class="extras">(readonly)</span>
808
+ - (<tt>Object</tt>) <strong>error_count</strong> <span class="extras">(readonly)</span>
751
809
 
752
810
 
753
811
 
@@ -756,33 +814,13 @@ update, and destroy messages</p>
756
814
  </h3><div class="docstring">
757
815
  <div class="discussion">
758
816
 
759
- <p>Returns count of errors (uncaught exceptions) that have occurred in the
760
- current error interval</p>
817
+ <p>Returns the value of attribute error_count</p>
761
818
 
762
819
 
763
820
  </div>
764
821
  </div>
765
822
  <div class="tags">
766
823
 
767
- <p class="tag_title">Returns:</p>
768
- <ul class="return">
769
-
770
- <li>
771
-
772
-
773
- <span class='type'>(<tt>Integer</tt>)</span>
774
-
775
-
776
-
777
- &mdash;
778
- <div class='inline'>
779
- <p>count of errors (uncaught exceptions) that have occurred in the current
780
- error interval</p>
781
- </div>
782
-
783
- </li>
784
-
785
- </ul>
786
824
 
787
825
  </div><table class="source_code">
788
826
  <tr>
@@ -790,12 +828,12 @@ error interval</p>
790
828
  <pre class="lines">
791
829
 
792
830
 
793
- 52
794
- 53
795
- 54</pre>
831
+ 49
832
+ 50
833
+ 51</pre>
796
834
  </td>
797
835
  <td>
798
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
836
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
799
837
 
800
838
  <span class='kw'>def</span> <span class='id identifier rubyid_error_count'>error_count</span>
801
839
  <span class='ivar'>@error_count</span>
@@ -833,12 +871,12 @@ error interval</p>
833
871
  <pre class="lines">
834
872
 
835
873
 
836
- 52
837
- 53
838
- 54</pre>
874
+ 49
875
+ 50
876
+ 51</pre>
839
877
  </td>
840
878
  <td>
841
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
879
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
842
880
 
843
881
  <span class='kw'>def</span> <span class='id identifier rubyid_error_interval'>error_interval</span>
844
882
  <span class='ivar'>@error_interval</span>
@@ -876,12 +914,12 @@ error interval</p>
876
914
  <pre class="lines">
877
915
 
878
916
 
879
- 52
880
- 53
881
- 54</pre>
917
+ 49
918
+ 50
919
+ 51</pre>
882
920
  </td>
883
921
  <td>
884
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
922
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
885
923
 
886
924
  <span class='kw'>def</span> <span class='id identifier rubyid_error_limit'>error_limit</span>
887
925
  <span class='ivar'>@error_limit</span>
@@ -919,12 +957,12 @@ error interval</p>
919
957
  <pre class="lines">
920
958
 
921
959
 
922
- 52
923
- 53
924
- 54</pre>
960
+ 49
961
+ 50
962
+ 51</pre>
925
963
  </td>
926
964
  <td>
927
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
965
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
928
966
 
929
967
  <span class='kw'>def</span> <span class='id identifier rubyid_events_exchange'>events_exchange</span>
930
968
  <span class='ivar'>@events_exchange</span>
@@ -962,12 +1000,12 @@ error interval</p>
962
1000
  <pre class="lines">
963
1001
 
964
1002
 
965
- 52
966
- 53
967
- 54</pre>
1003
+ 49
1004
+ 50
1005
+ 51</pre>
968
1006
  </td>
969
1007
  <td>
970
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
1008
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
971
1009
 
972
1010
  <span class='kw'>def</span> <span class='id identifier rubyid_models_exchange'>models_exchange</span>
973
1011
  <span class='ivar'>@models_exchange</span>
@@ -1005,12 +1043,12 @@ error interval</p>
1005
1043
  <pre class="lines">
1006
1044
 
1007
1045
 
1008
- 52
1009
- 53
1010
- 54</pre>
1046
+ 49
1047
+ 50
1048
+ 51</pre>
1011
1049
  </td>
1012
1050
  <td>
1013
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
1051
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
1014
1052
 
1015
1053
  <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
1016
1054
  <span class='ivar'>@name</span>
@@ -1048,12 +1086,12 @@ error interval</p>
1048
1086
  <pre class="lines">
1049
1087
 
1050
1088
 
1051
- 52
1052
- 53
1053
- 54</pre>
1089
+ 49
1090
+ 50
1091
+ 51</pre>
1054
1092
  </td>
1055
1093
  <td>
1056
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
1094
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
1057
1095
 
1058
1096
  <span class='kw'>def</span> <span class='id identifier rubyid_queues'>queues</span>
1059
1097
  <span class='ivar'>@queues</span>
@@ -1066,9 +1104,9 @@ error interval</p>
1066
1104
 
1067
1105
  <span id=""></span>
1068
1106
  <div class="method_details ">
1069
- <h3 class="signature " id="running-instance_method">
1107
+ <h3 class="signature " id="status-instance_method">
1070
1108
 
1071
- - (<tt>Object</tt>) <strong>running</strong> <span class="extras">(readonly)</span>
1109
+ - (<tt>Object</tt>) <strong>status</strong> <span class="extras">(readonly)</span>
1072
1110
 
1073
1111
 
1074
1112
 
@@ -1077,7 +1115,7 @@ error interval</p>
1077
1115
  </h3><div class="docstring">
1078
1116
  <div class="discussion">
1079
1117
 
1080
- <p>Returns the value of attribute running</p>
1118
+ <p>Returns the value of attribute status</p>
1081
1119
 
1082
1120
 
1083
1121
  </div>
@@ -1091,15 +1129,15 @@ error interval</p>
1091
1129
  <pre class="lines">
1092
1130
 
1093
1131
 
1094
- 52
1095
- 53
1096
- 54</pre>
1132
+ 49
1133
+ 50
1134
+ 51</pre>
1097
1135
  </td>
1098
1136
  <td>
1099
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 52</span>
1137
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 49</span>
1100
1138
 
1101
- <span class='kw'>def</span> <span class='id identifier rubyid_running'>running</span>
1102
- <span class='ivar'>@running</span>
1139
+ <span class='kw'>def</span> <span class='id identifier rubyid_status'>status</span>
1140
+ <span class='ivar'>@status</span>
1103
1141
  <span class='kw'>end</span></pre>
1104
1142
  </td>
1105
1143
  </tr>
@@ -1140,17 +1178,101 @@ subclass.</p>
1140
1178
  <pre class="lines">
1141
1179
 
1142
1180
 
1143
- 111
1144
- 112</pre>
1181
+ 110
1182
+ 111</pre>
1145
1183
  </td>
1146
1184
  <td>
1147
- <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 111</span>
1185
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 110</span>
1148
1186
 
1149
1187
  <span class='kw'>def</span> <span class='id identifier rubyid_bind_event_queues'>bind_event_queues</span>
1150
1188
  <span class='kw'>end</span></pre>
1151
1189
  </td>
1152
1190
  </tr>
1153
1191
  </table>
1192
+ </div>
1193
+
1194
+ <div class="method_details ">
1195
+ <h3 class="signature " id="bind_queues-instance_method">
1196
+
1197
+ - (<tt>Object</tt>) <strong>bind_queues</strong>
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+ </h3><table class="source_code">
1204
+ <tr>
1205
+ <td>
1206
+ <pre class="lines">
1207
+
1208
+
1209
+ 114
1210
+ 115
1211
+ 116
1212
+ 117</pre>
1213
+ </td>
1214
+ <td>
1215
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 114</span>
1216
+
1217
+ <span class='kw'>def</span> <span class='id identifier rubyid_bind_queues'>bind_queues</span>
1218
+ <span class='id identifier rubyid_bind_observer_queues'>bind_observer_queues</span>
1219
+ <span class='id identifier rubyid_bind_event_queues'>bind_event_queues</span>
1220
+ <span class='kw'>end</span></pre>
1221
+ </td>
1222
+ </tr>
1223
+ </table>
1224
+ </div>
1225
+
1226
+ <div class="method_details ">
1227
+ <h3 class="signature " id="has_observer?-instance_method">
1228
+
1229
+ - (<tt>Boolean</tt>) <strong>has_observer?</strong>(observer)
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+ </h3><div class="docstring">
1236
+ <div class="discussion">
1237
+
1238
+
1239
+ </div>
1240
+ </div>
1241
+ <div class="tags">
1242
+
1243
+ <p class="tag_title">Returns:</p>
1244
+ <ul class="return">
1245
+
1246
+ <li>
1247
+
1248
+
1249
+ <span class='type'>(<tt>Boolean</tt>)</span>
1250
+
1251
+
1252
+
1253
+ </li>
1254
+
1255
+ </ul>
1256
+
1257
+ </div><table class="source_code">
1258
+ <tr>
1259
+ <td>
1260
+ <pre class="lines">
1261
+
1262
+
1263
+ 120
1264
+ 121
1265
+ 122</pre>
1266
+ </td>
1267
+ <td>
1268
+ <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 120</span>
1269
+
1270
+ <span class='kw'>def</span> <span class='id identifier rubyid_has_observer?'>has_observer?</span><span class='lparen'>(</span><span class='id identifier rubyid_observer'>observer</span><span class='rparen'>)</span>
1271
+ <span class='ivar'>@observers</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='id identifier rubyid_observer_key_for'>observer_key_for</span><span class='lparen'>(</span><span class='id identifier rubyid_observer'>observer</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='comma'>,</span> <span class='id identifier rubyid_observer'>observer</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span><span class='rparen'>)</span>
1272
+ <span class='kw'>end</span></pre>
1273
+ </td>
1274
+ </tr>
1275
+ </table>
1154
1276
  </div>
1155
1277
 
1156
1278
  <div class="method_details ">
@@ -1194,14 +1316,12 @@ threads</p>
1194
1316
  104
1195
1317
  105
1196
1318
  106
1197
- 107
1198
- 108</pre>
1319
+ 107</pre>
1199
1320
  </td>
1200
1321
  <td>
1201
1322
  <pre class="code"><span class="info file"># File 'lib/isimud/event_listener.rb', line 93</span>
1202
1323
 
1203
1324
  <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
1204
- <span class='ivar'>@running</span> <span class='op'>=</span> <span class='kw'>true</span>
1205
1325
  <span class='id identifier rubyid_bind_queues'>bind_queues</span> <span class='kw'>and</span> <span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_test_env?'>test_env?</span>
1206
1326
  <span class='id identifier rubyid_start_shutdown_thread'>start_shutdown_thread</span>
1207
1327
  <span class='id identifier rubyid_start_error_counter_thread'>start_error_counter_thread</span>
@@ -1226,9 +1346,9 @@ threads</p>
1226
1346
  </div>
1227
1347
 
1228
1348
  <div id="footer">
1229
- Generated on Mon Jan 18 17:07:52 2016 by
1349
+ Generated on Tue Aug 23 17:34:24 2016 by
1230
1350
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1231
- 0.8.7.6 (ruby-2.2.3).
1351
+ 0.8.7.6 (ruby-2.3.0).
1232
1352
  </div>
1233
1353
 
1234
1354
  </body>