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

Accept symbols as names of runtime implementation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.16.0
    • None
    • Coremunity
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • Changes the `Puppet.runtime` method to take symbols instead of strings
    • Needs Assessment

    Description

      The Puppet.runtime[name] API should use symbols, e.g. :http, because it doesn't require the caller to allocate a string (puppet doesn't use the frozen string pragma yet).

      If a string is specified, we may want to covert to a symbol using String#to_sym, but we could also just not do that.

      Update API docs to use a symbol.

      Attachments

        Activity

          People

            josh Josh Cooper
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support