lib/puppet/pops/model/factory.rb
# Creates a String literal, unless the symbol is one of the special :undef, or :default
# which instead creates a LiterlUndef, or a LiteralDefault.
# Supports :undef because nil creates a no-op instruction.
Creates a String literal, unless the symbol is one of the special :undef, or :default
which instead creates a LiterlUndef, or a LiteralDefault.
Supports :undef because nil creates a no-op instruction.
Creates a String literal unless the symbol is one of the special : undef or : default which instead creates a LiterlUndef or a LiteralDefault . Supports : undef because nil creates a no - op instruction .
def build_Symbol(o)
    case o
    when :undef
      Model::LiteralUndef.new
    when :default
      Model::LiteralDefault.new
    else
      build_String(o.to_s)
    end
  end
def build_Symbol ( o ) case o when :undef Model :: LiteralUndef . new when :default Model :: LiteralDefault . new else build_String ( o . to_s ) end end
Creates a String literal, unless the symbol is one of the special :undef, or :default
which instead creates a LiterlUndef, or a LiteralDefault.
Creates a String literal unless the symbol is one of the special : undef or : default which instead creates a LiterlUndef or a LiteralDefault .
o
<not_specific>