Method: Sequence#skip_until_literal

Defined in:
lib/sequence.rb

#skip_until_literal(lits) ⇒ Object Also known as: skip_until_literals



228
229
230
231
232
233
234
235
236
237
# File 'lib/sequence.rb', line 228

def skip_until_literal(lits)
  sz=lits.size
  first=lits[0]
  holding?{
  until eof?
    skip_until(first)
    lits==readahead(sz) and break pos
  end
  }
end