annotation HardWire::Inject
Overview
Attach this annotation to a #initialize function in a multi-constructor class to indicate that it is to be used for dependency injection.
This annotation is not required when a class has one constructor only.
def initialize
# wont be used
end
@[HardWire::Inject]
def initialize
# will be used
end