Class: LLM::Command::Pipe Private
- Inherits:
-
Struct
- Object
- Struct
- LLM::Command::Pipe
- Defined in:
- lib/llm/command.rb
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.
Instance Attribute Summary collapse
-
#r ⇒ Object
Returns the value of attribute r.
-
#w ⇒ Object
Returns the value of attribute w.
Class Method Summary collapse
- .pair ⇒ Object private
Instance Method Summary collapse
- #close ⇒ Object private
Instance Attribute Details
#r ⇒ Object
Returns the value of attribute r
11 12 13 |
# File 'lib/llm/command.rb', line 11 def r @r end |
#w ⇒ Object
Returns the value of attribute w
11 12 13 |
# File 'lib/llm/command.rb', line 11 def w @w end |
Class Method Details
.pair ⇒ Object
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.
12 13 14 |
# File 'lib/llm/command.rb', line 12 def self.pair new(*IO.pipe) end |
Instance Method Details
#close ⇒ Object
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.
16 17 18 |
# File 'lib/llm/command.rb', line 16 def close [r, w].each(&:close) end |