Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/sequence/indexed.rb

Instance Method Summary collapse

Instance Method Details

#to_sequence(pos = 0) ⇒ Object

convert an array to a seq starting at pos



242
243
244
# File 'lib/sequence/indexed.rb', line 242

def to_sequence(pos=0)
   Sequence::OfArray.new(self,pos)
end