Method: Puppet::Parser::AST::Leaf#initialize

Defined in:
lib/puppet/parser/ast/leaf.rb

#initialize(value: nil, file: nil, line: nil, pos: nil) ⇒ Leaf

Returns a new instance of Leaf.



23
24
25
26
# File 'lib/puppet/parser/ast/leaf.rb', line 23

def initialize(value: nil, file: nil, line: nil, pos: nil)
  @value = value
  super(file: file, line: line, pos: pos)
end