# File lib/puppet/network/http/api/v1.rb, line 58
58:   def plurality(indirection)
59:     # NOTE This specific hook for facts is ridiculous, but it's a *many*-line
60:     # fix to not need this, and our goal is to move away from the complication
61:     # that leads to the fix being too long.
62:     return :singular if indirection == "facts"
63: 
64:     # "status" really is singular
65:     return :singular if indirection == "status"
66: 
67:     result = (indirection =~ /s$/) ? :plural : :singular
68: 
69:     indirection.sub!(/s$/, '') if result
70: 
71:     result
72:   end