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



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

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

  __getobj__.add(*args)
end