lib/monkey/lexer.rb
def read_char
      @ch = peek_char
      @position = @read_position
      @read_position += 1
    end
# Initialize the lexer with the given input.
#
# @param input [String] the text that will be lexed
Initialize the lexer with the given input.
Initialize the lexer with the given input .
def read_char
      @ch = peek_char
      @position = @read_position
      @read_position += 1
    end
def read_char @ch = peek_char @position = @read_position @read_position += 1 end
Initialize the lexer with the given input.
Initialize the lexer with the given input .
input
the text that will be lexed
the text that will be lexed