Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/sequence/indexed.rb
Instance Method Summary collapse
-
#to_sequence(pos = 0) ⇒ Object
convert an array to a seq starting at
pos.
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 |