Sha256: 4a2a42b6c06cd82d1ddbda88855593a4e37dc1749f34c4af5a018817ede3a528
Contents?: true
Size: 489 Bytes
Versions: 5
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require 'delorean/ruby/whitelists' module Delorean module Ruby DEFAULT_ERROR_HANDLER = lambda do |*args| str = args.map(&:to_s).join(', ') raise str end def self.whitelist=(new_whitelist) @whitelist = new_whitelist end def self.whitelist @whitelist end def self.error_handler=(new_handler) @error_handler = new_handler end def self.error_handler @error_handler end end end
Version data entries
5 entries across 5 versions & 1 rubygems