summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--state.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/state.rb b/state.rb
index f1387a7..e971843 100644
--- a/state.rb
+++ b/state.rb
@@ -264,6 +264,13 @@ class State
nil
end
+ # Print color string reps of all states
+ def State.print_all_color
+ @@states.each do |s|
+ puts s.to_s_color if s.is_a? self
+ end
+ end
+
# Look at the list of active states and see how the deps of this state could
# be met
def State.depsolve