Class: IControl::Common::KeyValue

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/common.rb,
lib/icontrol/common.rb

Overview

A key/value combination.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The string identifying the pair.

Returns:

  • (String)

    the current value of key


158
159
160
# File 'lib/icontrol/common.rb', line 158

def key
  @key
end

#valueString

The value of the pair.

Returns:

  • (String)

    the current value of value


158
159
160
# File 'lib/icontrol/common.rb', line 158

def value
  @value
end