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