Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8761

Make convert_to() function accept additional arguments

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • Docs, Functions, Type System
    • None
    • Platform Core
    • New Feature
    • convert_to() function now accepts additional arguments where earlier it only accepted the data type to convert to.
    • Needs Assessment

    Description

      When using the convert_to function it would be nice to allow it to take additional arguments to enable things like $var.convert_to(String, $string_formats).

      Attachments

        Activity

          People

            thomas.hallgren Thomas Hallgren
            henrik.lindberg Henrik Lindberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support