hanami-utils libraries are not required by Bundler
wuarmin opened this issue · comments
Hello,
I use a hanami-utils in a non-hanami-project, and use Bunder.require
. However, I have to explicitly call require 'hanami/utils/UTILS_CLASS'
to be able to use the features.
Is that the expected behaviour, or should it be fixed?
best regards and thanks
@wuarmin Hey, it's by design. Please have a look at README
.
Hanami::Utils is designed to enhance Ruby's code and stdlib. By default this gem doesn't load any code, you must require what you need.
Oh, I overlooked that. Thanks!