The boolean class. True or false. Converts the string it receives to a Ruby boolean.
Use the parent method, but then convert to a real boolean.
[Source]
# File lib/puppet/parser/ast/leaf.rb, line 23 23: def initialize(hash) 24: super 25: 26: unless @value == true or @value == false 27: raise Puppet::DevError, 28: "'%s' is not a boolean" % @value 29: end 30: @value 31: end
[Validate]