Class: SGF::GenericPropertyToken

Inherits:
Object
  • Object
show all
Defined in:
lib/sgf/parsing_tokens.rb

Instance Method Summary collapse

Instance Method Details

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

Returns:

  • (Boolean)


33
34
35
# File 'lib/sgf/parsing_tokens.rb', line 33

def still_inside? char, token_so_far, sgf_stream
  char != "]"
end

#transform(token) ⇒ Object



37
38
39
# File 'lib/sgf/parsing_tokens.rb', line 37

def transform token
  token
end