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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support