Class: StringIO

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

Instance Method Summary collapse

Instance Method Details

#to_sequenceObject

convert an StringIO to a seq



5
6
7
# File 'lib/sequence/stringio.rb', line 5

def to_sequence
   Sequence::File.new(self)
end