AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/StringScanner/ |
Current File : //opt/alt/ruby18/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