# File lib/state_machine/machine.rb, line 905 def read(object, attribute, ivar = false) attribute = self.attribute(attribute) ivar ? object.instance_variable_get("@#{attribute}") : object.send(attribute) end