Sha256: e78c52cd644118cbff7f9ad21bd663e8db81b7cb0beee3aedcb901bc60033d68
Contents?: true
Size: 338 Bytes
Versions: 34
Compression:
Stored size: 338 Bytes
Contents
class Object # a method that outputs several items on one line # similar to using pp, this space separates the items passed in and writes them to one line # sputs 1,2,3 # => 1 2 3 def pps *args for arg in args out = arg.to_s print out print " " if out[-1..-1] != " " end puts end end
Version data entries
34 entries across 34 versions & 1 rubygems