Class: MatrixSdk::Event
- Extended by:
- Extensions
- 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
Methods included from Extensions
Constructor Details
#initialize(sender) ⇒ Event
Returns a new instance of Event.
130 131 132 133 |
# File 'lib/matrix_sdk/extensions.rb', line 130 def initialize(sender) @sender = sender @handled = false end |
Instance Attribute Details
#handled=(value) ⇒ Object (writeonly)
Sets the attribute handled
126 127 128 |
# File 'lib/matrix_sdk/extensions.rb', line 126 def handled=(value) @handled = value end |
Instance Method Details
#handled? ⇒ Boolean
135 136 137 |
# File 'lib/matrix_sdk/extensions.rb', line 135 def handled? @handled end |
#matches?(_filter) ⇒ Boolean
139 140 141 |
# File 'lib/matrix_sdk/extensions.rb', line 139 def matches?(_filter) true end |