Hacked By AnonymousFox
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Advances the scan pointer until <tt>pattern</tt> is matched and consumed. Returns the number of bytes advanced, or <tt>nil</tt> if no match was found.
- !ruby/struct:SM::Flow::P
body: Look ahead to match <tt>pattern</tt>, and advance the scan pointer to the <em>end</em> of the match. Return the number of characters advanced, or <tt>nil</tt> if the match was unsuccessful.
- !ruby/struct:SM::Flow::P
body: "It's similar to #scan_until, but without returning the intervening string."
- !ruby/struct:SM::Flow::VERB
body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.skip_until /12/ # -> 10\n s #\n"
full_name: StringScanner#skip_until
is_singleton: false
name: skip_until
params: " skip_until(pattern)\n"
visibility: public
Hacked By AnonymousFox1.0, Coded By AnonymousFox