class BundlerExt::Output

Public Class Methods

parse_env() click to toggle source
# File lib/bundler_ext/output.rb, line 3
def self.parse_env
  @nostrict = ENV['BEXT_NOSTRICT'] || ENV['BUNDLER_EXT_NOSTRICT']
end
strict_err(msg) click to toggle source
# File lib/bundler_ext/output.rb, line 7
def self.strict_err(msg)
  parse_env
  if @nostrict
    puts msg
  else
    raise msg
  end
end