Class: Object

Inherits:
BasicObject
Defined in:
lib/array_pair.rb

Instance Method Summary collapse

Instance Method Details

#pick(*method_symbols) ⇒ Object



4
5
6
7
8
# File 'lib/array_pair.rb', line 4

def pick(*method_symbols)
  method_symbols.collect do |symbol|
    self.send(symbol)
  end
end