Class: Messages::MessageTypeMatcher
- Inherits:
-
Object
- Object
- Messages::MessageTypeMatcher
- Defined in:
- lib/log_query/messages/message_type_matcher.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.dyno(dyno) ⇒ Object
Returns the value of attribute dyno.
-
.source(source) ⇒ Object
Returns the value of attribute source.
Class Method Summary collapse
Class Attribute Details
.dyno(dyno) ⇒ Object
Returns the value of attribute dyno.
4 5 6 |
# File 'lib/log_query/messages/message_type_matcher.rb', line 4 def dyno @dyno end |
.source(source) ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/log_query/messages/message_type_matcher.rb', line 4 def source @source end |
Class Method Details
.===(source, dyno) ⇒ Object
15 16 17 |
# File 'lib/log_query/messages/message_type_matcher.rb', line 15 def self.===((source, dyno)) source.match("^#{@source}$") and dyno.match("^#{dyno}$") end |