spree-state_machine 2.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.travis.yml +12 -0
  4. data/.yardopts +5 -0
  5. data/CHANGELOG.md +502 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE +20 -0
  8. data/README.md +1246 -0
  9. data/Rakefile +20 -0
  10. data/examples/AutoShop_state.png +0 -0
  11. data/examples/Car_state.png +0 -0
  12. data/examples/Gemfile +5 -0
  13. data/examples/Gemfile.lock +14 -0
  14. data/examples/TrafficLight_state.png +0 -0
  15. data/examples/Vehicle_state.png +0 -0
  16. data/examples/auto_shop.rb +13 -0
  17. data/examples/car.rb +21 -0
  18. data/examples/doc/AutoShop.html +2856 -0
  19. data/examples/doc/AutoShop_state.png +0 -0
  20. data/examples/doc/Car.html +919 -0
  21. data/examples/doc/Car_state.png +0 -0
  22. data/examples/doc/TrafficLight.html +2230 -0
  23. data/examples/doc/TrafficLight_state.png +0 -0
  24. data/examples/doc/Vehicle.html +7921 -0
  25. data/examples/doc/Vehicle_state.png +0 -0
  26. data/examples/doc/_index.html +136 -0
  27. data/examples/doc/class_list.html +47 -0
  28. data/examples/doc/css/common.css +1 -0
  29. data/examples/doc/css/full_list.css +55 -0
  30. data/examples/doc/css/style.css +322 -0
  31. data/examples/doc/file_list.html +46 -0
  32. data/examples/doc/frames.html +13 -0
  33. data/examples/doc/index.html +136 -0
  34. data/examples/doc/js/app.js +205 -0
  35. data/examples/doc/js/full_list.js +173 -0
  36. data/examples/doc/js/jquery.js +16 -0
  37. data/examples/doc/method_list.html +734 -0
  38. data/examples/doc/top-level-namespace.html +105 -0
  39. data/examples/merb-rest/controller.rb +51 -0
  40. data/examples/merb-rest/model.rb +28 -0
  41. data/examples/merb-rest/view_edit.html.erb +24 -0
  42. data/examples/merb-rest/view_index.html.erb +23 -0
  43. data/examples/merb-rest/view_new.html.erb +13 -0
  44. data/examples/merb-rest/view_show.html.erb +17 -0
  45. data/examples/rails-rest/controller.rb +43 -0
  46. data/examples/rails-rest/migration.rb +7 -0
  47. data/examples/rails-rest/model.rb +23 -0
  48. data/examples/rails-rest/view__form.html.erb +34 -0
  49. data/examples/rails-rest/view_edit.html.erb +6 -0
  50. data/examples/rails-rest/view_index.html.erb +25 -0
  51. data/examples/rails-rest/view_new.html.erb +5 -0
  52. data/examples/rails-rest/view_show.html.erb +19 -0
  53. data/examples/traffic_light.rb +9 -0
  54. data/examples/vehicle.rb +33 -0
  55. data/lib/state_machine/assertions.rb +36 -0
  56. data/lib/state_machine/branch.rb +225 -0
  57. data/lib/state_machine/callback.rb +236 -0
  58. data/lib/state_machine/core.rb +7 -0
  59. data/lib/state_machine/core_ext/class/state_machine.rb +5 -0
  60. data/lib/state_machine/core_ext.rb +2 -0
  61. data/lib/state_machine/error.rb +13 -0
  62. data/lib/state_machine/eval_helpers.rb +87 -0
  63. data/lib/state_machine/event.rb +257 -0
  64. data/lib/state_machine/event_collection.rb +141 -0
  65. data/lib/state_machine/extensions.rb +149 -0
  66. data/lib/state_machine/graph.rb +92 -0
  67. data/lib/state_machine/helper_module.rb +17 -0
  68. data/lib/state_machine/initializers/rails.rb +25 -0
  69. data/lib/state_machine/initializers.rb +4 -0
  70. data/lib/state_machine/integrations/active_model/locale.rb +11 -0
  71. data/lib/state_machine/integrations/active_model/observer.rb +33 -0
  72. data/lib/state_machine/integrations/active_model/observer_update.rb +42 -0
  73. data/lib/state_machine/integrations/active_model/versions.rb +31 -0
  74. data/lib/state_machine/integrations/active_model.rb +585 -0
  75. data/lib/state_machine/integrations/active_record/locale.rb +20 -0
  76. data/lib/state_machine/integrations/active_record/versions.rb +123 -0
  77. data/lib/state_machine/integrations/active_record.rb +525 -0
  78. data/lib/state_machine/integrations/base.rb +100 -0
  79. data/lib/state_machine/integrations.rb +121 -0
  80. data/lib/state_machine/machine.rb +2287 -0
  81. data/lib/state_machine/machine_collection.rb +74 -0
  82. data/lib/state_machine/macro_methods.rb +522 -0
  83. data/lib/state_machine/matcher.rb +123 -0
  84. data/lib/state_machine/matcher_helpers.rb +54 -0
  85. data/lib/state_machine/node_collection.rb +222 -0
  86. data/lib/state_machine/path.rb +120 -0
  87. data/lib/state_machine/path_collection.rb +90 -0
  88. data/lib/state_machine/state.rb +297 -0
  89. data/lib/state_machine/state_collection.rb +112 -0
  90. data/lib/state_machine/state_context.rb +138 -0
  91. data/lib/state_machine/transition.rb +470 -0
  92. data/lib/state_machine/transition_collection.rb +245 -0
  93. data/lib/state_machine/version.rb +3 -0
  94. data/lib/state_machine/yard/handlers/base.rb +32 -0
  95. data/lib/state_machine/yard/handlers/event.rb +25 -0
  96. data/lib/state_machine/yard/handlers/machine.rb +344 -0
  97. data/lib/state_machine/yard/handlers/state.rb +25 -0
  98. data/lib/state_machine/yard/handlers/transition.rb +47 -0
  99. data/lib/state_machine/yard/handlers.rb +12 -0
  100. data/lib/state_machine/yard/templates/default/class/html/setup.rb +30 -0
  101. data/lib/state_machine/yard/templates/default/class/html/state_machines.erb +12 -0
  102. data/lib/state_machine/yard/templates.rb +3 -0
  103. data/lib/state_machine/yard.rb +8 -0
  104. data/lib/state_machine.rb +8 -0
  105. data/lib/yard-state_machine.rb +2 -0
  106. data/state_machine.gemspec +22 -0
  107. data/test/files/en.yml +17 -0
  108. data/test/files/switch.rb +15 -0
  109. data/test/functional/state_machine_test.rb +1066 -0
  110. data/test/test_helper.rb +7 -0
  111. data/test/unit/assertions_test.rb +40 -0
  112. data/test/unit/branch_test.rb +969 -0
  113. data/test/unit/callback_test.rb +704 -0
  114. data/test/unit/error_test.rb +43 -0
  115. data/test/unit/eval_helpers_test.rb +270 -0
  116. data/test/unit/event_collection_test.rb +398 -0
  117. data/test/unit/event_test.rb +1196 -0
  118. data/test/unit/graph_test.rb +98 -0
  119. data/test/unit/helper_module_test.rb +17 -0
  120. data/test/unit/integrations/active_model_test.rb +1245 -0
  121. data/test/unit/integrations/active_record_test.rb +2551 -0
  122. data/test/unit/integrations/base_test.rb +104 -0
  123. data/test/unit/integrations_test.rb +71 -0
  124. data/test/unit/invalid_event_test.rb +20 -0
  125. data/test/unit/invalid_parallel_transition_test.rb +18 -0
  126. data/test/unit/invalid_transition_test.rb +115 -0
  127. data/test/unit/machine_collection_test.rb +603 -0
  128. data/test/unit/machine_test.rb +3395 -0
  129. data/test/unit/matcher_helpers_test.rb +37 -0
  130. data/test/unit/matcher_test.rb +155 -0
  131. data/test/unit/node_collection_test.rb +362 -0
  132. data/test/unit/path_collection_test.rb +266 -0
  133. data/test/unit/path_test.rb +485 -0
  134. data/test/unit/state_collection_test.rb +352 -0
  135. data/test/unit/state_context_test.rb +441 -0
  136. data/test/unit/state_machine_test.rb +31 -0
  137. data/test/unit/state_test.rb +1101 -0
  138. data/test/unit/transition_collection_test.rb +2168 -0
  139. data/test/unit/transition_test.rb +1558 -0
  140. metadata +264 -0
@@ -0,0 +1,734 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <base id="base_target" target="_parent" />
19
+ </head>
20
+ <body>
21
+ <script type="text/javascript" charset="utf-8">
22
+ if (window.top.frames.main) {
23
+ document.getElementById('base_target').target = 'main';
24
+ document.body.className = 'frames';
25
+ }
26
+ </script>
27
+ <div id="content">
28
+ <h1 id="full_list_header">Method List</h1>
29
+ <div id="nav">
30
+
31
+ <a target="_self" href="class_list.html">Classes</a>
32
+
33
+ <a target="_self" href="method_list.html">Methods</a>
34
+
35
+ <a target="_self" href="file_list.html">Files</a>
36
+
37
+ </div>
38
+ <div id="search">Search: <input type="text" /></div>
39
+
40
+ <ul id="full_list" class="methods">
41
+
42
+
43
+ <li class="r1 ">
44
+ <span class='object_link'><a href="AutoShop.html#available%3F-instance_method" title="AutoShop#available? (method)">#available?</a></span>
45
+
46
+ <small>AutoShop</small>
47
+
48
+ </li>
49
+
50
+
51
+ <li class="r2 ">
52
+ <span class='object_link'><a href="Car.html#backing_up%3F-instance_method" title="Car#backing_up? (method)">#backing_up?</a></span>
53
+
54
+ <small>Car</small>
55
+
56
+ </li>
57
+
58
+
59
+ <li class="r1 ">
60
+ <span class='object_link'><a href="AutoShop.html#busy%3F-instance_method" title="AutoShop#busy? (method)">#busy?</a></span>
61
+
62
+ <small>AutoShop</small>
63
+
64
+ </li>
65
+
66
+
67
+ <li class="r2 ">
68
+ <span class='object_link'><a href="Vehicle.html#can_crash%3F-instance_method" title="Vehicle#can_crash? (method)">#can_crash?</a></span>
69
+
70
+ <small>Vehicle</small>
71
+
72
+ </li>
73
+
74
+
75
+ <li class="r1 ">
76
+ <span class='object_link'><a href="TrafficLight.html#can_cycle%3F-instance_method" title="TrafficLight#can_cycle? (method)">#can_cycle?</a></span>
77
+
78
+ <small>TrafficLight</small>
79
+
80
+ </li>
81
+
82
+
83
+ <li class="r2 ">
84
+ <span class='object_link'><a href="AutoShop.html#can_fix_vehicle%3F-instance_method" title="AutoShop#can_fix_vehicle? (method)">#can_fix_vehicle?</a></span>
85
+
86
+ <small>AutoShop</small>
87
+
88
+ </li>
89
+
90
+
91
+ <li class="r1 ">
92
+ <span class='object_link'><a href="Vehicle.html#can_idle%3F-instance_method" title="Vehicle#can_idle? (method)">#can_idle?</a></span>
93
+
94
+ <small>Vehicle</small>
95
+
96
+ </li>
97
+
98
+
99
+ <li class="r2 ">
100
+ <span class='object_link'><a href="Vehicle.html#can_ignite%3F-instance_method" title="Vehicle#can_ignite? (method)">#can_ignite?</a></span>
101
+
102
+ <small>Vehicle</small>
103
+
104
+ </li>
105
+
106
+
107
+ <li class="r1 ">
108
+ <span class='object_link'><a href="Vehicle.html#can_park%3F-instance_method" title="Vehicle#can_park? (method)">#can_park?</a></span>
109
+
110
+ <small>Vehicle</small>
111
+
112
+ </li>
113
+
114
+
115
+ <li class="r2 ">
116
+ <span class='object_link'><a href="Vehicle.html#can_repair%3F-instance_method" title="Vehicle#can_repair? (method)">#can_repair?</a></span>
117
+
118
+ <small>Vehicle</small>
119
+
120
+ </li>
121
+
122
+
123
+ <li class="r1 ">
124
+ <span class='object_link'><a href="Car.html#can_reverse%3F-instance_method" title="Car#can_reverse? (method)">#can_reverse?</a></span>
125
+
126
+ <small>Car</small>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="r2 ">
132
+ <span class='object_link'><a href="Vehicle.html#can_shift_down%3F-instance_method" title="Vehicle#can_shift_down? (method)">#can_shift_down?</a></span>
133
+
134
+ <small>Vehicle</small>
135
+
136
+ </li>
137
+
138
+
139
+ <li class="r1 ">
140
+ <span class='object_link'><a href="Vehicle.html#can_shift_up%3F-instance_method" title="Vehicle#can_shift_up? (method)">#can_shift_up?</a></span>
141
+
142
+ <small>Vehicle</small>
143
+
144
+ </li>
145
+
146
+
147
+ <li class="r2 ">
148
+ <span class='object_link'><a href="AutoShop.html#can_tow_vehicle%3F-instance_method" title="AutoShop#can_tow_vehicle? (method)">#can_tow_vehicle?</a></span>
149
+
150
+ <small>AutoShop</small>
151
+
152
+ </li>
153
+
154
+
155
+ <li class="r1 ">
156
+ <span class='object_link'><a href="TrafficLight.html#caution%3F-instance_method" title="TrafficLight#caution? (method)">#caution?</a></span>
157
+
158
+ <small>TrafficLight</small>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="r2 ">
164
+ <span class='object_link'><a href="Vehicle.html#crash-instance_method" title="Vehicle#crash (method)">#crash</a></span>
165
+
166
+ <small>Vehicle</small>
167
+
168
+ </li>
169
+
170
+
171
+ <li class="r1 ">
172
+ <span class='object_link'><a href="Vehicle.html#crash%21-instance_method" title="Vehicle#crash! (method)">#crash!</a></span>
173
+
174
+ <small>Vehicle</small>
175
+
176
+ </li>
177
+
178
+
179
+ <li class="r2 ">
180
+ <span class='object_link'><a href="Vehicle.html#crash_transition-instance_method" title="Vehicle#crash_transition (method)">#crash_transition</a></span>
181
+
182
+ <small>Vehicle</small>
183
+
184
+ </li>
185
+
186
+
187
+ <li class="r1 ">
188
+ <span class='object_link'><a href="TrafficLight.html#cycle-instance_method" title="TrafficLight#cycle (method)">#cycle</a></span>
189
+
190
+ <small>TrafficLight</small>
191
+
192
+ </li>
193
+
194
+
195
+ <li class="r2 ">
196
+ <span class='object_link'><a href="TrafficLight.html#cycle%21-instance_method" title="TrafficLight#cycle! (method)">#cycle!</a></span>
197
+
198
+ <small>TrafficLight</small>
199
+
200
+ </li>
201
+
202
+
203
+ <li class="r1 ">
204
+ <span class='object_link'><a href="TrafficLight.html#cycle_transition-instance_method" title="TrafficLight#cycle_transition (method)">#cycle_transition</a></span>
205
+
206
+ <small>TrafficLight</small>
207
+
208
+ </li>
209
+
210
+
211
+ <li class="r2 ">
212
+ <span class='object_link'><a href="TrafficLight.html#fire_state_event-instance_method" title="TrafficLight#fire_state_event (method)">#fire_state_event</a></span>
213
+
214
+ <small>TrafficLight</small>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="r1 ">
220
+ <span class='object_link'><a href="AutoShop.html#fire_state_event-instance_method" title="AutoShop#fire_state_event (method)">#fire_state_event</a></span>
221
+
222
+ <small>AutoShop</small>
223
+
224
+ </li>
225
+
226
+
227
+ <li class="r2 ">
228
+ <span class='object_link'><a href="Vehicle.html#fire_state_event-instance_method" title="Vehicle#fire_state_event (method)">#fire_state_event</a></span>
229
+
230
+ <small>Vehicle</small>
231
+
232
+ </li>
233
+
234
+
235
+ <li class="r1 ">
236
+ <span class='object_link'><a href="Vehicle.html#first_gear%3F-instance_method" title="Vehicle#first_gear? (method)">#first_gear?</a></span>
237
+
238
+ <small>Vehicle</small>
239
+
240
+ </li>
241
+
242
+
243
+ <li class="r2 ">
244
+ <span class='object_link'><a href="AutoShop.html#fix_vehicle-instance_method" title="AutoShop#fix_vehicle (method)">#fix_vehicle</a></span>
245
+
246
+ <small>AutoShop</small>
247
+
248
+ </li>
249
+
250
+
251
+ <li class="r1 ">
252
+ <span class='object_link'><a href="AutoShop.html#fix_vehicle%21-instance_method" title="AutoShop#fix_vehicle! (method)">#fix_vehicle!</a></span>
253
+
254
+ <small>AutoShop</small>
255
+
256
+ </li>
257
+
258
+
259
+ <li class="r2 ">
260
+ <span class='object_link'><a href="AutoShop.html#fix_vehicle_transition-instance_method" title="AutoShop#fix_vehicle_transition (method)">#fix_vehicle_transition</a></span>
261
+
262
+ <small>AutoShop</small>
263
+
264
+ </li>
265
+
266
+
267
+ <li class="r1 ">
268
+ <span class='object_link'><a href="TrafficLight.html#human_state_event_name-class_method" title="TrafficLight.human_state_event_name (method)">human_state_event_name</a></span>
269
+
270
+ <small>TrafficLight</small>
271
+
272
+ </li>
273
+
274
+
275
+ <li class="r2 ">
276
+ <span class='object_link'><a href="Vehicle.html#human_state_event_name-class_method" title="Vehicle.human_state_event_name (method)">human_state_event_name</a></span>
277
+
278
+ <small>Vehicle</small>
279
+
280
+ </li>
281
+
282
+
283
+ <li class="r1 ">
284
+ <span class='object_link'><a href="AutoShop.html#human_state_event_name-class_method" title="AutoShop.human_state_event_name (method)">human_state_event_name</a></span>
285
+
286
+ <small>AutoShop</small>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="r2 ">
292
+ <span class='object_link'><a href="AutoShop.html#human_state_name-class_method" title="AutoShop.human_state_name (method)">human_state_name</a></span>
293
+
294
+ <small>AutoShop</small>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="r1 ">
300
+ <span class='object_link'><a href="Vehicle.html#human_state_name-class_method" title="Vehicle.human_state_name (method)">human_state_name</a></span>
301
+
302
+ <small>Vehicle</small>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="r2 ">
308
+ <span class='object_link'><a href="AutoShop.html#human_state_name-instance_method" title="AutoShop#human_state_name (method)">#human_state_name</a></span>
309
+
310
+ <small>AutoShop</small>
311
+
312
+ </li>
313
+
314
+
315
+ <li class="r1 ">
316
+ <span class='object_link'><a href="Vehicle.html#human_state_name-instance_method" title="Vehicle#human_state_name (method)">#human_state_name</a></span>
317
+
318
+ <small>Vehicle</small>
319
+
320
+ </li>
321
+
322
+
323
+ <li class="r2 ">
324
+ <span class='object_link'><a href="TrafficLight.html#human_state_name-instance_method" title="TrafficLight#human_state_name (method)">#human_state_name</a></span>
325
+
326
+ <small>TrafficLight</small>
327
+
328
+ </li>
329
+
330
+
331
+ <li class="r1 ">
332
+ <span class='object_link'><a href="TrafficLight.html#human_state_name-class_method" title="TrafficLight.human_state_name (method)">human_state_name</a></span>
333
+
334
+ <small>TrafficLight</small>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="r2 ">
340
+ <span class='object_link'><a href="Vehicle.html#idle-instance_method" title="Vehicle#idle (method)">#idle</a></span>
341
+
342
+ <small>Vehicle</small>
343
+
344
+ </li>
345
+
346
+
347
+ <li class="r1 ">
348
+ <span class='object_link'><a href="Vehicle.html#idle%21-instance_method" title="Vehicle#idle! (method)">#idle!</a></span>
349
+
350
+ <small>Vehicle</small>
351
+
352
+ </li>
353
+
354
+
355
+ <li class="r2 ">
356
+ <span class='object_link'><a href="Vehicle.html#idle_transition-instance_method" title="Vehicle#idle_transition (method)">#idle_transition</a></span>
357
+
358
+ <small>Vehicle</small>
359
+
360
+ </li>
361
+
362
+
363
+ <li class="r1 ">
364
+ <span class='object_link'><a href="Vehicle.html#idling%3F-instance_method" title="Vehicle#idling? (method)">#idling?</a></span>
365
+
366
+ <small>Vehicle</small>
367
+
368
+ </li>
369
+
370
+
371
+ <li class="r2 ">
372
+ <span class='object_link'><a href="Vehicle.html#ignite-instance_method" title="Vehicle#ignite (method)">#ignite</a></span>
373
+
374
+ <small>Vehicle</small>
375
+
376
+ </li>
377
+
378
+
379
+ <li class="r1 ">
380
+ <span class='object_link'><a href="Vehicle.html#ignite%21-instance_method" title="Vehicle#ignite! (method)">#ignite!</a></span>
381
+
382
+ <small>Vehicle</small>
383
+
384
+ </li>
385
+
386
+
387
+ <li class="r2 ">
388
+ <span class='object_link'><a href="Vehicle.html#ignite_transition-instance_method" title="Vehicle#ignite_transition (method)">#ignite_transition</a></span>
389
+
390
+ <small>Vehicle</small>
391
+
392
+ </li>
393
+
394
+
395
+ <li class="r1 ">
396
+ <span class='object_link'><a href="Vehicle.html#park-instance_method" title="Vehicle#park (method)">#park</a></span>
397
+
398
+ <small>Vehicle</small>
399
+
400
+ </li>
401
+
402
+
403
+ <li class="r2 ">
404
+ <span class='object_link'><a href="Vehicle.html#park%21-instance_method" title="Vehicle#park! (method)">#park!</a></span>
405
+
406
+ <small>Vehicle</small>
407
+
408
+ </li>
409
+
410
+
411
+ <li class="r1 ">
412
+ <span class='object_link'><a href="Vehicle.html#park_transition-instance_method" title="Vehicle#park_transition (method)">#park_transition</a></span>
413
+
414
+ <small>Vehicle</small>
415
+
416
+ </li>
417
+
418
+
419
+ <li class="r2 ">
420
+ <span class='object_link'><a href="Vehicle.html#parked%3F-instance_method" title="Vehicle#parked? (method)">#parked?</a></span>
421
+
422
+ <small>Vehicle</small>
423
+
424
+ </li>
425
+
426
+
427
+ <li class="r1 ">
428
+ <span class='object_link'><a href="TrafficLight.html#proceed%3F-instance_method" title="TrafficLight#proceed? (method)">#proceed?</a></span>
429
+
430
+ <small>TrafficLight</small>
431
+
432
+ </li>
433
+
434
+
435
+ <li class="r2 ">
436
+ <span class='object_link'><a href="Vehicle.html#repair-instance_method" title="Vehicle#repair (method)">#repair</a></span>
437
+
438
+ <small>Vehicle</small>
439
+
440
+ </li>
441
+
442
+
443
+ <li class="r1 ">
444
+ <span class='object_link'><a href="Vehicle.html#repair%21-instance_method" title="Vehicle#repair! (method)">#repair!</a></span>
445
+
446
+ <small>Vehicle</small>
447
+
448
+ </li>
449
+
450
+
451
+ <li class="r2 ">
452
+ <span class='object_link'><a href="Vehicle.html#repair_transition-instance_method" title="Vehicle#repair_transition (method)">#repair_transition</a></span>
453
+
454
+ <small>Vehicle</small>
455
+
456
+ </li>
457
+
458
+
459
+ <li class="r1 ">
460
+ <span class='object_link'><a href="Car.html#reverse-instance_method" title="Car#reverse (method)">#reverse</a></span>
461
+
462
+ <small>Car</small>
463
+
464
+ </li>
465
+
466
+
467
+ <li class="r2 ">
468
+ <span class='object_link'><a href="Car.html#reverse%21-instance_method" title="Car#reverse! (method)">#reverse!</a></span>
469
+
470
+ <small>Car</small>
471
+
472
+ </li>
473
+
474
+
475
+ <li class="r1 ">
476
+ <span class='object_link'><a href="Car.html#reverse_transition-instance_method" title="Car#reverse_transition (method)">#reverse_transition</a></span>
477
+
478
+ <small>Car</small>
479
+
480
+ </li>
481
+
482
+
483
+ <li class="r2 ">
484
+ <span class='object_link'><a href="Vehicle.html#second_gear%3F-instance_method" title="Vehicle#second_gear? (method)">#second_gear?</a></span>
485
+
486
+ <small>Vehicle</small>
487
+
488
+ </li>
489
+
490
+
491
+ <li class="r1 ">
492
+ <span class='object_link'><a href="Vehicle.html#shift_down-instance_method" title="Vehicle#shift_down (method)">#shift_down</a></span>
493
+
494
+ <small>Vehicle</small>
495
+
496
+ </li>
497
+
498
+
499
+ <li class="r2 ">
500
+ <span class='object_link'><a href="Vehicle.html#shift_down%21-instance_method" title="Vehicle#shift_down! (method)">#shift_down!</a></span>
501
+
502
+ <small>Vehicle</small>
503
+
504
+ </li>
505
+
506
+
507
+ <li class="r1 ">
508
+ <span class='object_link'><a href="Vehicle.html#shift_down_transition-instance_method" title="Vehicle#shift_down_transition (method)">#shift_down_transition</a></span>
509
+
510
+ <small>Vehicle</small>
511
+
512
+ </li>
513
+
514
+
515
+ <li class="r2 ">
516
+ <span class='object_link'><a href="Vehicle.html#shift_up-instance_method" title="Vehicle#shift_up (method)">#shift_up</a></span>
517
+
518
+ <small>Vehicle</small>
519
+
520
+ </li>
521
+
522
+
523
+ <li class="r1 ">
524
+ <span class='object_link'><a href="Vehicle.html#shift_up%21-instance_method" title="Vehicle#shift_up! (method)">#shift_up!</a></span>
525
+
526
+ <small>Vehicle</small>
527
+
528
+ </li>
529
+
530
+
531
+ <li class="r2 ">
532
+ <span class='object_link'><a href="Vehicle.html#shift_up_transition-instance_method" title="Vehicle#shift_up_transition (method)">#shift_up_transition</a></span>
533
+
534
+ <small>Vehicle</small>
535
+
536
+ </li>
537
+
538
+
539
+ <li class="r1 ">
540
+ <span class='object_link'><a href="Vehicle.html#stalled%3F-instance_method" title="Vehicle#stalled? (method)">#stalled?</a></span>
541
+
542
+ <small>Vehicle</small>
543
+
544
+ </li>
545
+
546
+
547
+ <li class="r2 ">
548
+ <span class='object_link'><a href="Vehicle.html#state-instance_method" title="Vehicle#state (method)">#state</a></span>
549
+
550
+ <small>Vehicle</small>
551
+
552
+ </li>
553
+
554
+
555
+ <li class="r1 ">
556
+ <span class='object_link'><a href="TrafficLight.html#state-instance_method" title="TrafficLight#state (method)">#state</a></span>
557
+
558
+ <small>TrafficLight</small>
559
+
560
+ </li>
561
+
562
+
563
+ <li class="r2 ">
564
+ <span class='object_link'><a href="AutoShop.html#state-instance_method" title="AutoShop#state (method)">#state</a></span>
565
+
566
+ <small>AutoShop</small>
567
+
568
+ </li>
569
+
570
+
571
+ <li class="r1 ">
572
+ <span class='object_link'><a href="AutoShop.html#state%3F-instance_method" title="AutoShop#state? (method)">#state?</a></span>
573
+
574
+ <small>AutoShop</small>
575
+
576
+ </li>
577
+
578
+
579
+ <li class="r2 ">
580
+ <span class='object_link'><a href="TrafficLight.html#state%3F-instance_method" title="TrafficLight#state? (method)">#state?</a></span>
581
+
582
+ <small>TrafficLight</small>
583
+
584
+ </li>
585
+
586
+
587
+ <li class="r1 ">
588
+ <span class='object_link'><a href="Vehicle.html#state%3F-instance_method" title="Vehicle#state? (method)">#state?</a></span>
589
+
590
+ <small>Vehicle</small>
591
+
592
+ </li>
593
+
594
+
595
+ <li class="r2 ">
596
+ <span class='object_link'><a href="AutoShop.html#state_events-instance_method" title="AutoShop#state_events (method)">#state_events</a></span>
597
+
598
+ <small>AutoShop</small>
599
+
600
+ </li>
601
+
602
+
603
+ <li class="r1 ">
604
+ <span class='object_link'><a href="Vehicle.html#state_events-instance_method" title="Vehicle#state_events (method)">#state_events</a></span>
605
+
606
+ <small>Vehicle</small>
607
+
608
+ </li>
609
+
610
+
611
+ <li class="r2 ">
612
+ <span class='object_link'><a href="TrafficLight.html#state_events-instance_method" title="TrafficLight#state_events (method)">#state_events</a></span>
613
+
614
+ <small>TrafficLight</small>
615
+
616
+ </li>
617
+
618
+
619
+ <li class="r1 ">
620
+ <span class='object_link'><a href="Vehicle.html#state_name-instance_method" title="Vehicle#state_name (method)">#state_name</a></span>
621
+
622
+ <small>Vehicle</small>
623
+
624
+ </li>
625
+
626
+
627
+ <li class="r2 ">
628
+ <span class='object_link'><a href="AutoShop.html#state_name-instance_method" title="AutoShop#state_name (method)">#state_name</a></span>
629
+
630
+ <small>AutoShop</small>
631
+
632
+ </li>
633
+
634
+
635
+ <li class="r1 ">
636
+ <span class='object_link'><a href="TrafficLight.html#state_name-instance_method" title="TrafficLight#state_name (method)">#state_name</a></span>
637
+
638
+ <small>TrafficLight</small>
639
+
640
+ </li>
641
+
642
+
643
+ <li class="r2 ">
644
+ <span class='object_link'><a href="AutoShop.html#state_paths-instance_method" title="AutoShop#state_paths (method)">#state_paths</a></span>
645
+
646
+ <small>AutoShop</small>
647
+
648
+ </li>
649
+
650
+
651
+ <li class="r1 ">
652
+ <span class='object_link'><a href="TrafficLight.html#state_paths-instance_method" title="TrafficLight#state_paths (method)">#state_paths</a></span>
653
+
654
+ <small>TrafficLight</small>
655
+
656
+ </li>
657
+
658
+
659
+ <li class="r2 ">
660
+ <span class='object_link'><a href="Vehicle.html#state_paths-instance_method" title="Vehicle#state_paths (method)">#state_paths</a></span>
661
+
662
+ <small>Vehicle</small>
663
+
664
+ </li>
665
+
666
+
667
+ <li class="r1 ">
668
+ <span class='object_link'><a href="Vehicle.html#state_transitions-instance_method" title="Vehicle#state_transitions (method)">#state_transitions</a></span>
669
+
670
+ <small>Vehicle</small>
671
+
672
+ </li>
673
+
674
+
675
+ <li class="r2 ">
676
+ <span class='object_link'><a href="TrafficLight.html#state_transitions-instance_method" title="TrafficLight#state_transitions (method)">#state_transitions</a></span>
677
+
678
+ <small>TrafficLight</small>
679
+
680
+ </li>
681
+
682
+
683
+ <li class="r1 ">
684
+ <span class='object_link'><a href="AutoShop.html#state_transitions-instance_method" title="AutoShop#state_transitions (method)">#state_transitions</a></span>
685
+
686
+ <small>AutoShop</small>
687
+
688
+ </li>
689
+
690
+
691
+ <li class="r2 ">
692
+ <span class='object_link'><a href="TrafficLight.html#stop%3F-instance_method" title="TrafficLight#stop? (method)">#stop?</a></span>
693
+
694
+ <small>TrafficLight</small>
695
+
696
+ </li>
697
+
698
+
699
+ <li class="r1 ">
700
+ <span class='object_link'><a href="Vehicle.html#third_gear%3F-instance_method" title="Vehicle#third_gear? (method)">#third_gear?</a></span>
701
+
702
+ <small>Vehicle</small>
703
+
704
+ </li>
705
+
706
+
707
+ <li class="r2 ">
708
+ <span class='object_link'><a href="AutoShop.html#tow_vehicle-instance_method" title="AutoShop#tow_vehicle (method)">#tow_vehicle</a></span>
709
+
710
+ <small>AutoShop</small>
711
+
712
+ </li>
713
+
714
+
715
+ <li class="r1 ">
716
+ <span class='object_link'><a href="AutoShop.html#tow_vehicle%21-instance_method" title="AutoShop#tow_vehicle! (method)">#tow_vehicle!</a></span>
717
+
718
+ <small>AutoShop</small>
719
+
720
+ </li>
721
+
722
+
723
+ <li class="r2 ">
724
+ <span class='object_link'><a href="AutoShop.html#tow_vehicle_transition-instance_method" title="AutoShop#tow_vehicle_transition (method)">#tow_vehicle_transition</a></span>
725
+
726
+ <small>AutoShop</small>
727
+
728
+ </li>
729
+
730
+
731
+ </ul>
732
+ </div>
733
+ </body>
734
+ </html>