Method: DS::Pair#key

Defined in:
lib/ds/pair.rb

#keyObject Also known as: first

Returns the value of attribute key.



4
5
6
# File 'lib/ds/pair.rb', line 4

def key
  @key
end