Sha256: 576ec716a998b395350bf4f36d71decb7afafeeaa72b496eed44315bb493f158
Contents?: true
Size: 291 Bytes
Versions: 47
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true # output standard header for file load during testing # def spec_source(file, env_var_name = 'SPEC_DEBUG') if (->(val) { val.nil? ? false : !(val.empty? || val == '0') }) .call(ENV.fetch(env_var_name, nil)) puts "#{env_var_name}: #{file}" end end
Version data entries
47 entries across 47 versions & 1 rubygems