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