# File lib/puppet/network/rights.rb, line 233 233: def restrict_authenticated(authentication) 234: case authentication 235: when "yes", "on", "true", true 236: authentication = true 237: when "no", "off", "false", false 238: authentication = false 239: when "all","any", :all, :any 240: authentication = nil 241: else 242: raise ArgumentError, "'#{name}' incorrect authenticated value: #{authentication}" 243: end 244: @authentication = authentication 245: end