Method: Sequence#modify
- Defined in:
- lib/sequence.rb
#modify(*args) ⇒ Object
Similar to #slice except data is written. index and len have the same meaning as they do in #slice. len elements are deleted and replacedata is inserted. replacedata is a single item if len is ommitted and 1st param is Fixnum
613 614 615 |
# File 'lib/sequence.rb', line 613 def modify(*args) #index|range, len, replacedata abstract end |