Project

println

0.0
No commit activity in last 3 years
No release in over 3 years
In other languages there is a method to print a list of arguments, seperated by space and capped of with a newline to stdout. Ruby didn't have an equivalent: print joins without a delimiter and doesn't add a newline, puts joins by newline (not space) and adds a newline at EOS.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.1
 Project Readme

println

In other languages there is a method to print a list of arguments, seperated by space and capped off with a newline to stdout. Ruby doesn't have an equivalent: print joins without a delimiter and doesn't add a newline, puts joins by newline (not space) and adds a newline at EOS.

This gems adds that method.

Installation

gem install println

or add the following line to Gemfile:

gem 'println'

and run bundle install in your terminal.

Usage

It is a globally defined method that you can invoke without receiver:

println('just', 'like', 'that')
# prints "just like that \n" and returns nil

License

See the LICENSE file