Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/karist/patch/array.rb
Instance Method Summary collapse
-
#mutate(mutations) ⇒ Object
- a, b, c
-
[a.mutate, b.mutate, c.mutate].
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 |