Module: Yell::Helpers::Silencer

Included in:
Logger
Defined in:
lib/yell/helpers/silencer.rb

Instance Method Summary collapse

Instance Method Details

#silence(*patterns) ⇒ Object

Set the silence pattern



6
7
8
# File 'lib/yell/helpers/silencer.rb', line 6

def silence( *patterns )
  silencer.add(*patterns)
end

#silencerObject



10
11
12
# File 'lib/yell/helpers/silencer.rb', line 10

def silencer
  @__silencer__
end