Class: String

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

Direct Known Subclasses

MyString

Instance Method Summary collapse

Instance Method Details

#to_sequence(pos = 0) ⇒ Object

convert a string to a seq starting at pos



249
250
251
# File 'lib/sequence/indexed.rb', line 249

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