Class: HashMath::Matrix::KeyValuePair::Pair

Inherits:
Struct
  • Object
show all
Defined in:
lib/hash_math/matrix/key_value_pair.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



14
15
16
# File 'lib/hash_math/matrix/key_value_pair.rb', line 14

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



14
15
16
# File 'lib/hash_math/matrix/key_value_pair.rb', line 14

def value
  @value
end