Method: TTY::Pager::NullPager#puts
- Defined in:
- lib/tty/pager/null.rb
#puts(text) ⇒ Object
Pass output directly to stdout
21 22 23 24 25 |
# File 'lib/tty/pager/null.rb', line 21 def puts(text) return text unless output.tty? output.puts(text) end |