lib/state_fu/persistence/base.rb in davidlee-state-fu-0.0.2 vs lib/state_fu/persistence/base.rb in davidlee-state-fu-0.2.0

- old
+ new

@@ -36,10 +36,10 @@ if current_state.nil? Logger.info("Object has an undefined state: #{object}") Logger.info("Machine has no states: #{machine}") if machine.states.empty? else persist! - Logger.debug("Object resumes at #{current_state.name}: #{object}") + # Logger.debug("Object #{object} resuming #{binding.method_name} at #{current_state.name}: #{object.inspect}") end end def find_current_state string = read_attribute()