Module: Kernel

Defined in:
lib/pcol.rb

Instance Method Summary collapse

Instance Method Details

#pcol(obj, color = nil) ⇒ Object



20
21
22
# File 'lib/pcol.rb', line 20

def pcol(obj, color=nil)
  puts "#{obj.inspect}".send( color || ColorRotator.next(color) )
end