hanami / utils

Ruby core extentions and class utilities for Hanami

Home Page:http://hanamirb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hanami-utils libraries are not required by Bundler

wuarmin opened this issue · comments

commented

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.

https://github.com/hanami/utils#usage

commented

Oh, I overlooked that. Thanks!