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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Scans one character and returns it. This method is multi-byte character sensitive. See also #get_byte."
- !ruby/struct:SM::Flow::VERB 
  body: "  s = StringScanner.new('ab')\n  s.getch           # =&gt; &quot;a&quot;\n  s.getch           # =&gt; &quot;b&quot;\n  s.getch           # =&gt; nil\n\n  $KCODE = 'EUC'\n  s = StringScanner.new(&quot;\\244\\242&quot;)\n  s.getch           # =&gt; &quot;\\244\\242&quot;   # Japanese hira-kana &quot;A&quot; in EUC-JP\n  s.getch           # =&gt; nil\n"
full_name: StringScanner#getch
is_singleton: false
name: getch
params: ()
visibility: public
