Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/karist/patch/array.rb

Instance Method Summary collapse

Instance Method Details

#mutate(mutations) ⇒ Object

a, b, c

[a.mutate, b.mutate, c.mutate]



3
4
5
# File 'lib/karist/patch/array.rb', line 3

def mutate(mutations)
  self.map {|z| z.mutate(mutations)}
end