engines/adva_user/vendor/plugins/authentication/lib/radius/dictionary.rb
def attr_num(attrname)
      if (@attr[attrname] == nil || @attr[attrname][0] == nil)
	return(nil)
      end
      return(@attr[attrname][0])
    end
# Given an attribute name, return the number corresponding to it,
# based on the dictionary file(s) that have been read.
#
# ====Parameters
# +attrname+:: Name of the attribute whose number is desired.
#
# ====Return Value
# The number corresponding to the appropriate attribute name
# given.
Given an attribute name, return the number corresponding to it,
based on the dictionary file(s) that have been read.

Parameters
+attrname+:: Name of the attribute whose number is desired.

Return Value
The number corresponding to the appropriate attribute name
given.
Given an attribute name return the number corresponding to it based on the dictionary file ( s ) that have been read . Parameters + attrname + :: Name of the attribute whose number is desired . Return Value The number corresponding to the appropriate attribute name given .
def attr_num(attrname)
      if (@attr[attrname] == nil || @attr[attrname][0] == nil)
	return(nil)
      end
      return(@attr[attrname][0])
    end
def attr_num ( attrname ) if ( @attr [ attrname ] == nil || @attr [ attrname ] [ 0 ] == nil ) return ( nil ) end return ( @attr [ attrname ] [ 0 ] ) end
Given an attribute name, return the number corresponding to it,
based on the dictionary file(s) that have been read.
Given an attribute name return the number corresponding to it based on the dictionary file ( s ) that have been read .
attrname