Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/art-decomp.rb

Instance Method Summary collapse

Instance Method Details

#keysObject



6
7
8
# File 'lib/art-decomp.rb', line 6

def keys
  map &:first
end

#valuesObject



9
10
11
# File 'lib/art-decomp.rb', line 9

def values
  map &:last
end