Sha256: e8c2f0d0fb62845f3c137c605b851806889058e31ed913b7e5fbe7223688c666

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

require 'pp'

class Object
  def tapp(tag=nil)
    print "#{tag}=" if tag
    pp self
    self
	end

	def stapp(tag=nil)
    print "#{tag} " if tag
		puts "c=#{self.class} i=#{self.inspect[0..100]}"
    self
	end


	def returning(obj)
		yield obj
		obj
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angry_mob-0.1.0 lib/angry_mob/extend/object.rb