Class: MatrixSdk::Event
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.
115 116 117 118 |
# File 'lib/matrix_sdk/extensions.rb', line 115 def initialize(sender) @sender = sender @handled = false end |
Instance Attribute Details
#handled=(value) ⇒ Object (writeonly)
Sets the attribute handled
111 112 113 |
# File 'lib/matrix_sdk/extensions.rb', line 111 def handled=(value) @handled = value end |
Instance Method Details
#handled? ⇒ Boolean
120 121 122 |
# File 'lib/matrix_sdk/extensions.rb', line 120 def handled? @handled end |
#matches?(_filter) ⇒ Boolean
124 125 126 |
# File 'lib/matrix_sdk/extensions.rb', line 124 def matches?(_filter) true end |