lib/codekindly-utils.rb in codekindly-utils-0.0.1 vs lib/codekindly-utils.rb in codekindly-utils-0.0.2
- old
+ new
@@ -1,6 +1,12 @@
-require_relative "code_kindly/utils"
\ No newline at end of file
+require_relative "code_kindly/utils"
+
+if Kernel.const_defined? :CK
+ warn "`CK` is already defined as a constant, so you will need to use the full `CodeKindly::Utils` module name in this project."
+else
+ CK = CodeKindly::Utils
+end