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