Sha256: 8e22b2262ae918d129431b54e569da235f64a0331389fe16688c52ce67692303
Contents?: true
Size: 168 Bytes
Versions: 1
Compression:
Stored size: 168 Bytes
Contents
require 'pp' class Object def tapp tap { pp block_given? ? yield(self) : self } end def taputs tap { puts block_given? ? yield(self) : self } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tapp-1.0.0 | lib/tapp.rb |