Class: MatrixSdk::Event
- Inherits:
-
Object
- Object
- MatrixSdk::Event
- Defined in:
- lib/matrix_sdk/extensions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#handled ⇒ Object
writeonly
Sets the attribute handled.
Instance Method Summary collapse
- #handled? ⇒ Boolean
-
#initialize(sender) ⇒ Event
constructor
A new instance of Event.
- #matches?(_filter) ⇒ Boolean
Constructor Details
#initialize(sender) ⇒ Event
Returns a new instance of Event.
83 84 85 86 |
# File 'lib/matrix_sdk/extensions.rb', line 83 def initialize(sender) @sender = sender @handled = false end |
Instance Attribute Details
#handled=(value) ⇒ Object (writeonly)
Sets the attribute handled
79 80 81 |
# File 'lib/matrix_sdk/extensions.rb', line 79 def handled=(value) @handled = value end |
Instance Method Details
#handled? ⇒ Boolean
88 89 90 |
# File 'lib/matrix_sdk/extensions.rb', line 88 def handled? @handled end |
#matches?(_filter) ⇒ Boolean
92 93 94 |
# File 'lib/matrix_sdk/extensions.rb', line 92 def matches?(_filter) true end |