Method: Puppet::Pops::Types::TypeCalculator#infer_Symbol
- Defined in:
- lib/puppet/pops/types/type_calculator.rb
#infer_Symbol(o) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Inference of :default as PDefaultType, and all other are Ruby
614 615 616 617 618 619 620 621 622 623 |
# File 'lib/puppet/pops/types/type_calculator.rb', line 614 def infer_Symbol(o) case o when :default PDefaultType::DEFAULT when :undef PUndefType::DEFAULT else infer_Object(o) end end |