lib/pd.rb in pd-1.0.5 vs lib/pd.rb in pd-1.1.0

- old
+ new

@@ -1,17 +1,18 @@ autoload :Pd_VERSION, "pd/version" module Kernel +private + # print for debug # # @overlaod pd(obj, ...) - # @param [Symbol] - # - # - # @overload pd(title, obj, ...) - # @param [Symbol] title if first arg is a Captial Symbol, use it as title - # @return [nil] + # + # @example + # + # pd("a", 2, :foo) -> "a" 2 :foo + # def pd(*args) puts args.map{|v|v.inspect}.join(" ") end # print hr. puts '='*14 + " #{name}" @@ -21,7 +22,6 @@ def phr(name=nil) puts "="*14 + " #{name}" end end -require "ap" - +require "pp"