Class: Grouped

Inherits:
Struct show all
Defined in:
lib/group_by.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



1
2
3
# File 'lib/group_by.rb', line 1

def key
  @key
end

#valuesObject

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



1
2
3
# File 'lib/group_by.rb', line 1

def values
  @values
end