lib/sciolyff/validator/checker.rb
# wraps method calls (always using send in Validator) so that exceptions
# in the check cause check to pass, as what caused the exception should
# cause some other check to fail if the SciolyFF is truly invalid
#
# this simplifies the checking code greatly, even if it is a bit hacky
wraps method calls (always using send in Validator) so that exceptions
in the check cause check to pass, as what caused the exception should
cause some other check to fail if the SciolyFF is truly invalid

this simplifies the checking code greatly, even if it is a bit hacky
wraps method calls ( always using send in Validator ) so that exceptions in the check cause check to pass as what caused the exception should cause some other check to fail if the SciolyFF is truly invalid this simplifies the checking code greatly even if it is a bit hacky
def send(method, *args)
      super
    rescue StandardError => e
      args[1].debug "#{e}\n  #{e.backtrace.first}" 
    end
def send ( method , * args ) super rescue StandardError => e args [ 1 ] . debug "#{e}\n  #{e.backtrace.first}" end
wraps method calls (always using send in Validator) so that exceptions
in the check cause check to pass, as what caused the exception should
cause some other check to fail if the SciolyFF is truly invalid
wraps method calls ( always using send in Validator ) so that exceptions in the check cause check to pass as what caused the exception should cause some other check to fail if the SciolyFF is truly invalid
# args[1] is the logger
method
args