Sha256: c01cd5e6099d18ae1bad618535902390f44442efe2f65f1b0a24261aacce4811
Contents?: true
Size: 1.23 KB
Versions: 11
Compression:
Stored size: 1.23 KB
Contents
require_relative "printer" module CutePrint # Methods mixed into Object, and so available globally. # # @note The methods in this module are part of the public API, but # the module itself is not. module Mixin # @see CutePrint#q def q(*args, &block) CutePrint.q(*args, &block) end # @see CutePrint#ql def ql(*args, &block) CutePrint.ql(*args, &block) end # @see CutePrint#qq def qq(*args, &block) CutePrint.qq(*args, &block) end # @see CutePrint#qql def qql(*args, &block) CutePrint.qql(*args, &block) end # Debug a call chain by printing self and then returning self. # @return [Object] self def tapq q self self end # Debug a call chain by printing self, with source location, and # then returning self. # @return [Object] self def tapql ql self self end # Debug a call chain by pretty-printing self and then returning # self. # @return [Object] self def tapqq qq self self end # Debug a call chain by pretty-printing self, with source # location, and then returning self. # @return [Object] self def tapqql qql self self end end end
Version data entries
11 entries across 11 versions & 1 rubygems