Class: MijDiscord::Events::Unhandled
- Defined in:
- lib/mij-discord/events/basic.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(bot, name, data) ⇒ Unhandled
constructor
A new instance of Unhandled.
Methods inherited from EventBase
delegate_method, filter_match, inherited, #inspect, #trigger?
Constructor Details
#initialize(bot, name, data) ⇒ Unhandled
Returns a new instance of Unhandled.
43 44 45 46 47 |
# File 'lib/mij-discord/events/basic.rb', line 43 def initialize(bot, name, data) super(bot) @name, @data = name, data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
39 40 41 |
# File 'lib/mij-discord/events/basic.rb', line 39 def data @data end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
37 38 39 |
# File 'lib/mij-discord/events/basic.rb', line 37 def name @name end |