adrienthebo/facter — comment on commit 33e23806bfaba59d21ecf1347a526ccc9bda3be9
File: lib/facter/util/resolution.rb line 151
By daniel-pittman:

Better to do this the Ruby way, which is `attr_accessor :name`, since you don't add any value.

Generally, avoid custom setters, and favour the Ruby style of `def name=` to set, `def name` to get.