Method: SGF::MultiPropertyToken#still_inside?

Defined in:
lib/sgf/parsing_tokens.rb

#still_inside?(char, token_so_far, sgf_stream) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
25
# File 'lib/sgf/parsing_tokens.rb', line 22

def still_inside? char, token_so_far, sgf_stream
  return true if char != "]"
  sgf_stream.peek_skipping_whitespace == "["
end