# File lib/state_machine/branch.rb, line 118 def match(object, query = {}) assert_valid_keys(query, :from, :to, :on, :guard) if (match = match_query(query)) && matches_conditions?(object, query) match end end