Method: CommandKit::Terminal#terminal
- Defined in:
- lib/command_kit/terminal.rb
#terminal ⇒ IO?
Returns the terminal object, if stdout is connected to a terminal.
97 98 99 |
# File 'lib/command_kit/terminal.rb', line 97 def terminal IO.console if terminal? end |