Class: Circuits::Terminal::Input
- Inherits:
-
Object
- Object
- Circuits::Terminal::Input
- Defined in:
- lib/circuits/terminal/input.rb
Overview
Reads from a single output
Instance Method Summary collapse
-
#get ⇒ Boolean
Forward get to the output.
-
#initialize(opts = {}) ⇒ Input
constructor
Creates the input.
-
#set(output) ⇒ Object
Output to use or state to make a dummy output with.
Constructor Details
Instance Method Details
#get ⇒ Boolean
Forward get to the output
17 18 19 |
# File 'lib/circuits/terminal/input.rb', line 17 def get @terminal.get end |