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



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

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

#silencerObject



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

def silencer
  @__silencer__
end