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

PR (2434): (PE-3054) use attr_accessor instead of attr - KevinCorcoran

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      (PE-3054) use attr_accessor instead of attr

      Pull Request Description


      A one-line change that fixes a deprecation warning on certain versions
      of ruby, including jruby.

      Stackoverflow says this code is equivalent:

      http://stackoverflow.com/questions/13958061/attr-vs-attr-accessor


      (webhooks-id: 8e0df956ecb0ce7ce12f68a40e757df6)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gepetto-bot gepetto-bot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support