badd019364
You can pass a block to the constructor of the hostclass. For some reason Yard is yielding the block twice. Our code is not yielding the block because we only use yield in one place which is unrelated. I don't think this is intended behavior on yard's part, it certainly seems odd, but we can dodge the question and not have to wait for an upstream patch by extracting the logic from the block and running it after the object has been initialized. |
||
---|---|---|
.. | ||
base.rb | ||
defined_type_handler.rb | ||
host_class_handler.rb | ||
puppet_3x_function_handler.rb | ||
puppet_4x_function_handler.rb |