Class: LLM::Repl::Input::Char Private

Inherits:
Object
  • Object
show all
Defined in:
lib/llm/repl/input/char.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A single editable character of the input.

Instance Method Summary collapse

Constructor Details

#initialize(char) ⇒ LLM::Repl::Input::Char

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • char (String)


10
11
12
# File 'lib/llm/repl/input/char.rb', line 10

def initialize(char)
  @char = char
end

Instance Method Details

#to_sString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


16
17
18
# File 'lib/llm/repl/input/char.rb', line 16

def to_s
  @char
end