Class: Subroutine::FilteredErrors

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/subroutine/filtered_errors.rb

Instance Method Summary collapse

Instance Method Details

#add(*args) ⇒ Object



4
5
6
7
# File 'lib/subroutine/filtered_errors.rb', line 4

def add(*args)
  return if __getobj__.instance_variable_get('@base')._error_ignores[args[0].to_sym]
  __getobj__.add(*args)
end