lib/k_ext/github.rb in k_ext-github-0.0.8 vs lib/k_ext/github.rb in k_ext-github-0.0.10

- old
+ new

@@ -33,10 +33,10 @@ end end end end -if ENV['KLUE_DEBUG']&.to_s&.downcase == 'true' +if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true' namespace = 'KExt::Github::Version' file_path = $LOADED_FEATURES.find { |f| f.include?('k_ext/github/version') } version = KExt::Github::VERSION.ljust(9) puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}" end