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.
127 128 129 130 |
# File 'lib/matrix_sdk/extensions.rb', line 127 def initialize(sender) @sender = sender @handled = false end |
Instance Attribute Details
#handled=(value) ⇒ Object (writeonly)
Sets the attribute handled
123 124 125 |
# File 'lib/matrix_sdk/extensions.rb', line 123 def handled=(value) @handled = value end |
Instance Method Details
#handled? ⇒ Boolean
132 133 134 |
# File 'lib/matrix_sdk/extensions.rb', line 132 def handled? @handled end |
#matches?(_filter) ⇒ Boolean
136 137 138 |
# File 'lib/matrix_sdk/extensions.rb', line 136 def matches?(_filter) true end |