Method: Sequence#+

Defined in:
lib/sequence.rb

#+(other) ⇒ Object

Returns a new #position increased by len (positive or negative).



464
465
466
467
468
469
470
# File 'lib/sequence.rb', line 464

def +(other)
  if ::Sequence===other
    List[self, other]
  else
    position(pos+other)
  end
end