Module: Kernel

Defined in:
lib/monkey_patches.rb

Overview

One nice thing about command-line tools is that nobody cares how much you monkey-patch :-)

Instance Method Summary collapse

Instance Method Details

#whisper(*msgs) ⇒ Object


5
6
7
8
9
# File 'lib/monkey_patches.rb', line 5

def whisper(*msgs)
  unless $WHISPER
    puts *msgs
  end
end