diff options
Diffstat (limited to 'state.rb')
| -rw-r--r-- | state.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -276,6 +276,11 @@ class State nil end + # Get all states of this type + def State.get_all + @@states.select{ |x| x.is_a? self } + end + # Depsolve all state classes. This method is not defined in subclasses of # State. def State.depsolve_all |
