class Parsby::Context

Attributes

bio[R]
parsed_ranges[RW]

Public Class Methods

new(io) click to toggle source
# File lib/parsby.rb, line 586
def initialize(io)
  @bio = BackedIO.new io
  @failures = []
end

Public Instance Methods

furthest_parsed_range() click to toggle source
# File lib/parsby.rb, line 591
def furthest_parsed_range
  parsed_ranges.flatten.max_by(&:start)
end