--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Returns <tt>true</tt> iff the last match was successful.
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "  s = StringScanner.new('test string')\n  s.match?(/\\w+/)     # =&gt; 4\n  s.matched?          # =&gt; true\n  s.match?(/\\d+/)     # =&gt; nil\n  s.matched?          # =&gt; false\n"
full_name: StringScanner#matched?
is_singleton: false
name: matched?
params: ()
visibility: public
