Current Path : /usr/local/share/ri/1.8/system/StringScanner/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/StringScanner/skip_until-i.yaml |
--- !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