Class: Xify::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/xify/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(author, message, **args) ⇒ Event

Returns a new instance of Event.



4
5
6
7
8
# File 'lib/xify/event.rb', line 4

def initialize(author, message, **args)
  self.author = author
  self.message = message
  self.args = args
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



3
4
5
# File 'lib/xify/event.rb', line 3

def args
  @args
end

#authorObject

Returns the value of attribute author.



3
4
5
# File 'lib/xify/event.rb', line 3

def author
  @author
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/xify/event.rb', line 3

def message
  @message
end