Method: EDN::CharStream#advance

Defined in:
lib/edn/char_stream.rb

#advanceObject



16
17
18
19
# File 'lib/edn/char_stream.rb', line 16

def advance
  return @current if @current == :eof
  @current = @io.getc || :eof
end