lib/parslet/slice.rb in parslet-1.3.0 vs lib/parslet/slice.rb in parslet-1.4.0
- old
+ new
@@ -96,12 +96,6 @@
# Prints the slice as <code>"string"@offset</code>.
def inspect
str.inspect << "@#{offset}"
end
-end
-
-# Raised when trying to do an operation on slices that cannot succeed, like
-# adding non-adjacent slices. See Parslet::Slice.
-#
-class Parslet::InvalidSliceOperation < StandardError
end
\ No newline at end of file