Sha256: 4ef4355a1922943600dd29fd57c286fe721f6a59b4eea9f0da3df545462698f3
Contents?: true
Size: 284 Bytes
Versions: 24
Compression:
Stored size: 284 Bytes
Contents
module Rearview module Ext module StateMachine extend ActiveSupport::Concern included do attr_accessor :event_data end def fire_event(name,event_data={}) self.event_data = event_data fire_events(name) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems