Class: Messaging::Message::Metadata::Property
- Inherits:
-
Struct
- Object
- Struct
- Messaging::Message::Metadata::Property
- Defined in:
- lib/messaging/message/metadata/property.rb
Instance Attribute Summary collapse
-
#local ⇒ Object
Returns the value of attribute local.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#local ⇒ Object
Returns the value of attribute local
4 5 6 |
# File 'lib/messaging/message/metadata/property.rb', line 4 def local @local end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/messaging/message/metadata/property.rb', line 4 def name @name end |
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/messaging/message/metadata/property.rb', line 4 def value @value end |
Instance Method Details
#==(other) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/messaging/message/metadata/property.rb', line 13 def ==(other) equal = name == other.name && value == other.value && !!local == !!other.local end |
#local? ⇒ Boolean
9 10 11 |
# File 'lib/messaging/message/metadata/property.rb', line 9 def local? local == true end |