# File lib/puppet/network/rights.rb, line 225 225: def restrict_authenticated(authentication) 226: case authentication 227: when "yes", "on", "true", true 228: authentication = true 229: when "no", "off", "false", false 230: authentication = false 231: when "all","any", :all, :any 232: authentication = nil 233: else 234: raise ArgumentError, "'%s' incorrect authenticated value: %s" % [name, authentication] 235: end 236: @authentication = authentication 237: end