Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/posto/monkeypatch_array.rb
Instance Method Summary collapse
Instance Method Details
#reject_at(i) ⇒ Object
4 5 6 |
# File 'lib/posto/monkeypatch_array.rb', line 4 def reject_at(i) dup.tap {|array| array.delete_at(i)}.freeze end |