Module: BunnyEvent

Defined in:
lib/bunny_event.rb,
lib/bunny_events/version.rb

Overview

Module that can be included into a ruby class to create a definition of a BunnyEvent. These events can then be published via the BunnyEvents system.

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
'0.3.2'.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/bunny_event.rb', line 6

def message
  @message
end

Class Method Details

.included(base) ⇒ Object



21
22
23
# File 'lib/bunny_event.rb', line 21

def included(base)
  base.extend ClassMethods
end