vendored/puppet/lib/puppet/parser/ast/leaf.rb in bolt-0.20.3 vs vendored/puppet/lib/puppet/parser/ast/leaf.rb in bolt-0.20.5

- old
+ new

@@ -14,9 +14,14 @@ end def to_s @value.to_s unless @value.nil? end + + def initialize(value: nil, **options) + @value = value + super(**options) + end end # Host names, either fully qualified or just the short name, or even a regex # class Puppet::Parser::AST::HostName < Puppet::Parser::AST::Leaf