# File lib/transitions.rb, line 61 def can_transition?(*events) events.all? do |event| self.class.get_state_machine.events_for(current_state).include?(event.to_sym) end end