Class: Xberg::KeyValueAttribute
- Inherits:
-
Object
- Object
- Xberg::KeyValueAttribute
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
Returns the value of attribute key.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ KeyValueAttribute
constructor
A new instance of KeyValueAttribute.
Constructor Details
#initialize ⇒ KeyValueAttribute
Returns a new instance of KeyValueAttribute.
1361 |
# File 'sig/types.rbs', line 1361
def initialize: (?key: String, ?value: String) -> void
|
Instance Attribute Details
#key ⇒ String (readonly)
Returns the value of attribute key.
1358 1359 1360 |
# File 'sig/types.rbs', line 1358 def key @key end |
#value ⇒ String (readonly)
Returns the value of attribute value.
1359 1360 1361 |
# File 'sig/types.rbs', line 1359 def value @value end |