Method: Puppet::Pops::Types::TypeParser#parse_literal
- Defined in:
- lib/puppet/pops/types/type_parser.rb
#parse_literal(string, context = nil) ⇒ 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.
46 47 48 49 |
# File 'lib/puppet/pops/types/type_parser.rb', line 46 def parse_literal(string, context = nil) factory = @parser.parse_string(string) interpret_any(factory.model.body, context) end |