method

skip_inner_expression

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: RubyLex
skip_inner_expression() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/parsers/parse_rb.rb, line 1254
  def skip_inner_expression
    res = ""
    nest = 0
    while (ch = getc)
      res << ch
      if ch == '}'
        break if nest.zero?
        nest -= 1
      elsif ch == '{'
        nest += 1
      end
    end
    res
  end
Register or log in to add new notes.