1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

No longer need ap#puts

This commit is contained in:
Mike Dvorkin 2010-04-05 20:50:56 -07:00
parent 0fddf1e5b5
commit ac770dad73
2 changed files with 1 additions and 6 deletions

View file

@ -33,10 +33,6 @@ class AwesomePrint
Thread.current[AP] ||= []
end
def puts(object)
Kernel.puts awesome(object)
end
private

View file

@ -12,8 +12,7 @@ module Kernel
alias :awesome_inspect :ai
def ap(object, options = {})
ap = AwesomePrint.new(options)
ap.puts object.ai
puts object.ai(options)
end
alias :awesome_print :ap