HomePhorge

(PUP-1954) use attr_accessor instead of attr
3faca7e4260eUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1954) use attr_accessor instead of attr

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

Event Timeline

Kevin Corcoran <kevin.corcoran@puppetlabs.com> committed rPU3faca7e4260e: (PUP-1954) use attr_accessor instead of attr (authored by Kevin Corcoran <kevin.corcoran@puppetlabs.com>).Mar 14 2014, 9:50 PM