Class: Xberg::KeyValueAttribute

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeKeyValueAttribute

Returns a new instance of KeyValueAttribute.

Parameters:

  • key: (String)
  • value: (String)


1361
# File 'sig/types.rbs', line 1361

def initialize: (?key: String, ?value: String) -> void

Instance Attribute Details

#keyString (readonly)

Returns the value of attribute key.

Returns:

  • (String)


1358
1359
1360
# File 'sig/types.rbs', line 1358

def key
  @key
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1359
1360
1361
# File 'sig/types.rbs', line 1359

def value
  @value
end