class PubSub::PureEvent
Public Instance Methods
broadcast!()
click to toggle source
# File lib/pub_sub/pure_event.rb, line 5 def broadcast! broadcast(event_name, attributes_to_broadcast) end
Private Instance Methods
attributes_to_broadcast()
click to toggle source
# File lib/pub_sub/pure_event.rb, line 11 def attributes_to_broadcast attributes end
event_name()
click to toggle source
# File lib/pub_sub/pure_event.rb, line 15 def event_name self.class.name.underscore.sub('/', '__').chomp('_event') end