# File lib/parslet/source.rb, line 29 def read(n) raise ArgumentError, "Cannot read < 1 characters at a time." if n < 1 read_slice(n) end