module CutePrint::Mixin

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.

Public Instance Methods

q(*args, &block) click to toggle source

@see CutePrint#q

# File lib/cute_print/mixin.rb, line 12
def q(*args, &block)
  CutePrint.q(*args, &block)
end
ql(*args, &block) click to toggle source

@see CutePrint#ql

# File lib/cute_print/mixin.rb, line 17
def ql(*args, &block)
  CutePrint.ql(*args, &block)
end
qq(*args, &block) click to toggle source

@see CutePrint#qq

# File lib/cute_print/mixin.rb, line 22
def qq(*args, &block)
  CutePrint.qq(*args, &block)
end
qql(*args, &block) click to toggle source

@see CutePrint#qql

# File lib/cute_print/mixin.rb, line 27
def qql(*args, &block)
  CutePrint.qql(*args, &block)
end
tapq() click to toggle source

Debug a call chain by printing self and then returning self. @return [Object] self

# File lib/cute_print/mixin.rb, line 33
def tapq
  q self
  self
end
tapql() click to toggle source

Debug a call chain by printing self, with source location, and then returning self. @return [Object] self

# File lib/cute_print/mixin.rb, line 41
def tapql
  ql self
  self
end
tapqq() click to toggle source

Debug a call chain by pretty-printing self and then returning self. @return [Object] self

# File lib/cute_print/mixin.rb, line 49
def tapqq
  qq self
  self
end
tapqql() click to toggle source

Debug a call chain by pretty-printing self, with source location, and then returning self. @return [Object] self

# File lib/cute_print/mixin.rb, line 57
def tapqql
  qql self
  self
end