class Parsby::ParsedRange

Attributes

failed[RW]
label[R]

Public Class Methods

new(pos_start, pos_end, label) click to toggle source

Initialize failure with starting position, ending position, and label of what was expected.

Calls superclass method Parsby::PosRange::new
# File lib/parsby.rb, line 274
def initialize(pos_start, pos_end, label)
  @label = label
  super(pos_start, pos_end)
end