lib/switchman/shackles.rb in switchman-1.2.16 vs lib/switchman/shackles.rb in switchman-1.2.17
- old
+ new
@@ -7,9 +7,10 @@
# drops the save_handler and ensure_handler calls from the vanilla
# Shackles' implementation.
def activate!(environment)
environment ||= :master
+ activated_environments << environment
old_environment = self.environment
@environment = environment
old_environment
end