# File lib/transitions/event.rb, line 82 def update_event_timestamp(obj, next_state) @timestamps.each do |timestamp| obj.public_send "#{timestamp_attribute_name(obj, next_state, timestamp)}=", Time.now end end