Method: Warg::Console#puts
- Defined in:
- lib/warg.rb
#puts(text_or_content = nil) ⇒ Object
94 95 96 97 98 99 100 101 102 |
# File 'lib/warg.rb', line 94 def puts(text_or_content = nil) content = print_content text_or_content unless text_or_content.to_s.end_with?("\n") print_content "\n" end content end |