Recently I happened to see this word in Ruby code, use
, when I was going through some code related to goliath, middleware etc. Looks like it is different from include
/extend
, and require
.
Can somebody explain why this use
keyword exists, and how it is different from include
/require
? How does it work, when to use it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With