# File lib/state_machine/state.rb, line 159 def matches?(other_value) matcher ? matcher.call(other_value) : other_value == value end