Sha256: e5ef77cbdb21cf6d7bc6eb9bbdf526c3568ac68b8d9ec5af31491b7d0c26ba62
Contents?: true
Size: 413 Bytes
Versions: 11
Compression:
Stored size: 413 Bytes
Contents
# Allow users of copyable to alter the behavior. module Copyable class Config < Struct.new(:suppress_schema_errors); end def self.config @@config ||= Config.new end end if ENV['SUPPRESS_SCHEMA_ERRORS'].nil? Copyable.config.suppress_schema_errors = false else Copyable.config.suppress_schema_errors = (ENV['SUPPRESS_SCHEMA_ERRORS'] == 'true' || ENV['SUPPRESS_SCHEMA_ERRORS'] == true) end
Version data entries
11 entries across 11 versions & 1 rubygems