Method: RDoc::Parser::Ruby#skip_for_variable
- Defined in:
- lib/rdoc/parser/ruby.rb
#skip_for_variable ⇒ Object
skip the var [in] part of a ‘for’ statement
2246 2247 2248 2249 2250 2251 2252 |
# File 'lib/rdoc/parser/ruby.rb', line 2246 def skip_for_variable skip_tkspace_without_nl get_tk skip_tkspace_without_nl tk = get_tk unget_tk(tk) unless :on_kw == tk[:kind] and 'in' == tk[:text] end |