Class: Xify::Event
- Inherits:
-
Object
- Object
- Xify::Event
- Defined in:
- lib/xify/event.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#author ⇒ Object
Returns the value of attribute author.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(author, message, **args) ⇒ Event
constructor
A new instance of Event.
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(, , **args) self. = self. = self.args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
3 4 5 |
# File 'lib/xify/event.rb', line 3 def args @args end |
#author ⇒ Object
Returns the value of attribute author.
3 4 5 |
# File 'lib/xify/event.rb', line 3 def @author end |
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/xify/event.rb', line 3 def @message end |